From bf2da30c7ae9d4c15a5e22f3ee0b1bae2ca66e46 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Wed, 24 Jan 2024 02:28:54 +0100 Subject: MessageBuilder extensions --- ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs (limited to 'ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs') diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs deleted file mode 100644 index dcdfc4c..0000000 --- a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.Extensions.Configuration; - -namespace LibMatrix.ExampleBot.Bot; - -public class MRUBotConfiguration { - public MRUBotConfiguration(IConfiguration config) { - config.GetRequiredSection("Bot").Bind(this); - } - public string Homeserver { get; set; } = ""; - public string AccessToken { get; set; } = ""; - public string Prefix { get; set; } -} -- cgit 1.4.1