mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Fix mention prefix
This commit is contained in:
@@ -251,8 +251,11 @@ class Discord {
|
||||
args = [];
|
||||
|
||||
for(const module of this.loaded_module) {
|
||||
let thisModule = module[1];
|
||||
let thisModule: DiscordModule = module[1];
|
||||
thisModule.GuildOnCommand(command, args, message);
|
||||
|
||||
if(thisModule.commands && thisModule.commands.includes(command))
|
||||
thisModule.GuildOnModuleCommand(args, message);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user