about summary refs log tree commit diff
path: root/Bot/MRUBotConfiguration.cs
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-01-24 02:28:54 +0100
committerEmma [it/its]@Rory& <root@rory.gay>2024-01-24 02:28:54 +0100
commitecda7b17dfd83d787bc12d7194103d20cd4a8354 (patch)
tree5e79ac768297e117a8acaf3bf30574dae33df71d /Bot/MRUBotConfiguration.cs
parentCleanup (diff)
downloadLibMatrix.ExampleBot-ecda7b17dfd83d787bc12d7194103d20cd4a8354.tar.xz
MessageBuilder extensions
Diffstat (limited to 'Bot/MRUBotConfiguration.cs')
-rw-r--r--Bot/MRUBotConfiguration.cs12
1 files changed, 0 insertions, 12 deletions
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; } -}