-
-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
enhancementNew feature or requestNew feature or request
Description
start-bot.ts requires the importation of command classes through the index.ts.
then, there is a command array created:
let commands: Command[] = [
// Commands
// Chat Commands
// _Admin
new CreateRoleCommand(),
new DeleteRoleCommand(),
// _Info
new CreditsCommand(),
new AddBotCommand(),
// _Moderation
new AssignRoleCommand(),
new BanCommand(),
new HelpCommand(),
new StatusCommand(),
// Message Context Commands
new ViewDateSent(),
// User Context Commands
new ViewDateJoined(),
// TODO: Add new commands here
]You can see the problem if we have over 100 commands, the file would turn into 400-500 lines easily.
Any future dynamic solution to this? It leaves our hands tied.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request