diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:33:14 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:33:14 +0100 |
commit | 163e2a94f600ffe0f982e3f605264ff2f2fe312b (patch) | |
tree | af8fb4c8c468dde726a4773b1304aa22c59186ac /Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs | |
parent | Apply syntax style to LibMatrix (diff) | |
download | LibMatrix-163e2a94f600ffe0f982e3f605264ff2f2fe312b.tar.xz |
Apply syntax style to LibMatrix side projects
Diffstat (limited to 'Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs')
-rw-r--r-- | Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs b/Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs index ef203cd..dcbc670 100644 --- a/Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs +++ b/Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs @@ -3,10 +3,8 @@ using Microsoft.Extensions.Configuration; namespace LibMatrix.ExampleBot.Bot; public class DevTestBotConfiguration { - public DevTestBotConfiguration(IConfiguration config) { - config.GetRequiredSection("Bot").Bind(this); - } + public DevTestBotConfiguration(IConfiguration config) => config.GetRequiredSection("Bot").Bind(this); public string Homeserver { get; set; } = ""; public string AccessToken { get; set; } = ""; public string Prefix { get; set; } -} +} \ No newline at end of file |