mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 00:19:00 +03:00
Disable text commands (#175)
This PR disables text commands as their presence was not intentional.
This commit is contained in:
parent
0ba357e4c7
commit
a4b009a26f
1 changed files with 1 additions and 1 deletions
|
@ -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>()
|
||||
|
|
Loading…
Reference in a new issue