feat: add config option to run silently (no logs, no commands, but doing everything else needed for logging)

This commit is contained in:
sam 2024-10-25 16:18:27 +02:00
parent f7f88ff98f
commit 33b78a7ac5
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
5 changed files with 100 additions and 1 deletions

View file

@ -81,7 +81,11 @@ builder
]
);
})
.AddDiscordCommands(enableSlash: true, useDefaultCommandResponder: false)
.AddDiscordCommands(
enableSlash: true,
useDefaultCommandResponder: false,
useDefaultInteractionResponder: false
)
.AddCommandTree()
// Start command tree
.WithCommandGroup<MetaCommands>()