1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-13 17:26:08 +03:00

fix: disable text commands

This commit is contained in:
Octol1ttle 2023-10-30 09:32:18 +05:00
parent 0ba357e4c7
commit ee00f2847f
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

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>()