about summary refs log tree commit diff
path: root/Bot/PluralContactBotConfiguration.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-15 09:50:45 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-15 09:50:45 +0200
commitc2e8f573f5ee5803bf18e6068d801dfe5bb71a79 (patch)
treec201f76a2f82c16538a4e4fc1edc203b1ca6c901 /Bot/PluralContactBotConfiguration.cs
downloadPluralContactBotPoC-c2e8f573f5ee5803bf18e6068d801dfe5bb71a79.tar.xz
Some refactoring
Diffstat (limited to 'Bot/PluralContactBotConfiguration.cs')
-rw-r--r--Bot/PluralContactBotConfiguration.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bot/PluralContactBotConfiguration.cs b/Bot/PluralContactBotConfiguration.cs
new file mode 100644

index 0000000..f5c21af --- /dev/null +++ b/Bot/PluralContactBotConfiguration.cs
@@ -0,0 +1,9 @@ +using Microsoft.Extensions.Configuration; + +namespace PluralContactBotPoC.Bot; + +public class PluralContactBotConfiguration { + public PluralContactBotConfiguration(IConfiguration config) => config.GetRequiredSection("PluralContactBot").Bind(this); + + // public string +}