Fix typing indicator

This commit is contained in:
Dragon Fire
2024-03-21 20:32:19 -04:00
parent d62f2bffcb
commit 8cf7507dc8
+1 -1
View File
@@ -230,7 +230,7 @@ client.on('messageCreate', async msg => {
if (cleverbot) {
if (!cleverbot.shouldRespond(msg)) return;
client.registry.commands.get('cleverbot').uses++;
msg.channel.startTyping().catch(() => null);
msg.channel.sendTyping().catch(() => null);
try {
const response = await cleverbot.respond(msg.cleanContent);
msg.channel.stopTyping(true);