From ecda7b17dfd83d787bc12d7194103d20cd4a8354 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Wed, 24 Jan 2024 02:28:54 +0100 Subject: MessageBuilder extensions --- Bot/MRUBotConfiguration.cs | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 Bot/MRUBotConfiguration.cs (limited to 'Bot/MRUBotConfiguration.cs') diff --git a/Bot/MRUBotConfiguration.cs b/Bot/MRUBotConfiguration.cs deleted file mode 100644 index dcdfc4c..0000000 --- a/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.5.1