Enhance bot command handling with new leveling, economy, and utility features

- Integrated leveling and economy commands, including XP management and shop interactions.
- Added context menu support for utility commands, improving user interaction options.
- Updated command registration to include new commands and context menus, enhancing overall functionality.
- Improved logging to track the registration of commands and context menus.
- Refactored interaction handling to accommodate new command types and ensure smooth execution.
This commit is contained in:
smueller
2026-07-22 12:56:00 +02:00
parent fa5910ec43
commit 58623bd1d3
8 changed files with 140 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
import { ContextMenuCommandBuilder, ApplicationCommandType } from 'discord.js';
import { t } from '@nexumi/shared';
import type { BotContext, ContextMenuCommand } from '../../types.js';
import type { ContextMenuCommand } from '../../types.js';
import { getGuildLocale } from '../../i18n.js';
async function translateText(text: string, targetLang: string): Promise<string | null> {