about summary refs log tree commit diff
path: root/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Program.cs b/Program.cs

index d783af1..67403c1 100644 --- a/Program.cs +++ b/Program.cs
@@ -31,7 +31,7 @@ var host = builder.ConfigureServices((_, services) => { services.AddSingleton<ModerationBotConfiguration>(); services.AddRoryLibMatrixServices(); - services.AddBot(withCommands: true); + services.AddMatrixBot().AddCommandHandler().DiscoverAllCommands(); services.AddSingleton<PolicyEngine>(); services.AddSingleton<ModerationBotRoomProvider>();