fix dumb issue
This commit is contained in:
parent
f1bd031544
commit
2892fd0f04
@ -106,7 +106,7 @@ class ModmailClient extends Client {
|
|||||||
const commandName = rawCommand.substring(prefix.length);
|
const commandName = rawCommand.substring(prefix.length);
|
||||||
const command = this.registry.find(commandName);
|
const command = this.registry.find(commandName);
|
||||||
if (!command) return;
|
if (!command) return;
|
||||||
message._caller = commandName.toLowerCase();
|
message._caller = commandName;
|
||||||
|
|
||||||
if (command.showUsage && !args.length) {
|
if (command.showUsage && !args.length) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user