Enhance verification module with improved command handling and localization
- Updated the verification command to utilize a new `ephemeral` utility for consistent ephemeral message replies. - Refactored the `buildVerificationPanel` function to include localization support for panel titles and descriptions. - Added permission checks to ensure the bot can post in the designated verification channel. - Introduced a new verification queue in the queue management system for better handling of verification tasks. - Updated localization files to include new keys for verification-related messages in both English and German.
This commit is contained in:
6
apps/bot/src/interaction-reply.ts
Normal file
6
apps/bot/src/interaction-reply.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { MessageFlags } from 'discord.js';
|
||||
|
||||
/** Discord.js v14+ prefers flags over the deprecated `ephemeral` option. */
|
||||
export function ephemeral(): { flags: typeof MessageFlags.Ephemeral } {
|
||||
return { flags: MessageFlags.Ephemeral };
|
||||
}
|
||||
Reference in New Issue
Block a user