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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user