Disable text commands (#175)

This PR disables text commands as their presence was not intentional.
This commit is contained in:
Octol1ttle 2023-10-30 09:37:16 +05:00 committed by GitHub
parent 0ba357e4c7
commit a4b009a26f
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ public sealed class Octobot
services.AddTransient<IConfigurationBuilder, ConfigurationBuilder>()
// Init
.AddDiscordCaching()
.AddDiscordCommands(true)
.AddDiscordCommands(true, false)
// Slash command event handlers
.AddPreparationErrorEvent<LoggingPreparationErrorEvent>()
.AddPostExecutionEvent<ErrorLoggingPostExecutionEvent>()