mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Use sendTyping for all commands
This commit is contained in:
@@ -71,6 +71,7 @@ module.exports = class CommandClient extends Client {
|
||||
}
|
||||
|
||||
if (!this.dispatcher.isCommand(msg)) return;
|
||||
await msg.channel.sendTyping();
|
||||
const parsed = await this.dispatcher.parseMessage(msg);
|
||||
if (parsed.error) {
|
||||
const helpUsage = this.registry.commands.get('help').usage(parsed.command.name);
|
||||
|
||||
Reference in New Issue
Block a user