about summary refs log tree commit diff
path: root/MatrixRoomUtils.Bot/MRUBotConfiguration.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-06-26 02:43:54 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-06-27 17:43:00 +0200
commit3ed00f732a284b5a3e96e52d4e3a71869135869b (patch)
tree308cdd5c9891a676dc55cbf0e0e998ab5a74b2d2 /MatrixRoomUtils.Bot/MRUBotConfiguration.cs
parentWorking state, refactored Rory&::LibMatrix (diff)
downloadMatrixUtils-3ed00f732a284b5a3e96e52d4e3a71869135869b.tar.xz
Dependency injection stuff
Diffstat (limited to 'MatrixRoomUtils.Bot/MRUBotConfiguration.cs')
-rw-r--r--MatrixRoomUtils.Bot/MRUBotConfiguration.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/MatrixRoomUtils.Bot/MRUBotConfiguration.cs b/MatrixRoomUtils.Bot/MRUBotConfiguration.cs
deleted file mode 100644

index 14d9b60..0000000 --- a/MatrixRoomUtils.Bot/MRUBotConfiguration.cs +++ /dev/null
@@ -1,11 +0,0 @@ -using Microsoft.Extensions.Configuration; - -namespace MatrixRoomUtils.Bot; - -public class MRUBotConfiguration { - public MRUBotConfiguration(IConfiguration config) { - config.GetRequiredSection("Bot").Bind(this); - } - public string Homeserver { get; set; } = ""; - public string AccessToken { get; set; } = ""; -} \ No newline at end of file