12 lines
880 B
TypeScript
12 lines
880 B
TypeScript
// 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: 'tasks', description: 'Add, rename, schedule and delete habit tasks' },
|
||
{ name: 'habits', description: 'Create, edit, archive and restore your habits' },
|
||
{ name: 'reminders', description: 'Manage named reminders, schedules, and quiet hours' },
|
||
{ name: 'settings', description: 'Set your timezone and view delivery settings' },
|
||
{ name: 'progress', description: 'Preview progress and manage public snapshot or live sharing' },
|
||
{ name: 'today', description: 'View and complete today’s habits' },
|
||
{ name: 'history', description: 'View and correct habit progress for a calendar date' },
|
||
].map(command => ({ ...command, type: 1, integration_types: [0], contexts: [0, 1] }));
|