1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 09:09:00 +03:00

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>() services.AddTransient<IConfigurationBuilder, ConfigurationBuilder>()
// Init // Init
.AddDiscordCaching() .AddDiscordCaching()
.AddDiscordCommands(true) .AddDiscordCommands(true, false)
// Slash command event handlers // Slash command event handlers
.AddPreparationErrorEvent<LoggingPreparationErrorEvent>() .AddPreparationErrorEvent<LoggingPreparationErrorEvent>()
.AddPostExecutionEvent<ErrorLoggingPostExecutionEvent>() .AddPostExecutionEvent<ErrorLoggingPostExecutionEvent>()