diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-15 09:50:45 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-15 09:50:45 +0200 |
commit | c2e8f573f5ee5803bf18e6068d801dfe5bb71a79 (patch) | |
tree | c201f76a2f82c16538a4e4fc1edc203b1ca6c901 /Bot/PluralContactBotConfiguration.cs | |
download | PluralContactBotPoC-c2e8f573f5ee5803bf18e6068d801dfe5bb71a79.tar.xz |
Some refactoring
Diffstat (limited to 'Bot/PluralContactBotConfiguration.cs')
-rw-r--r-- | Bot/PluralContactBotConfiguration.cs | 9 |
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 +} |