feat: add Discord help command for servers and DMs

This commit is contained in:
syntaxbullet
2026-09-08 08:33:34 +02:00
parent 0a34142b3e
commit 2671fe0f34
5 changed files with 66 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
// Global commands are required for bot DMs; guild-only registrations cannot run there.
export const commands = [
{ name: 'help', description: 'Show commands and how to use Minabot' },
{ name: 'today', description: 'View and complete today’s habits' },
].map(command => ({ ...command, type: 1, integration_types: [0], contexts: [0, 1] }));