feat: add descriptions, categories, and usage examples to commands for improved help functionality
This commit is contained in:
@@ -6,6 +6,10 @@ export interface CommandMessage {
|
||||
type: 'message';
|
||||
aliases?: string[];
|
||||
cooldown?: number;
|
||||
// New optional metadata for auto-help
|
||||
description?: string;
|
||||
category?: string;
|
||||
usage?: string;
|
||||
run: (message: Message, args: string[], client: Amayo) => Promise<void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user