From 8cf7507dc8b2bcd4ac1d63d3a2c3f807d89abe9a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 21 Mar 2024 20:32:19 -0400 Subject: [PATCH] Fix typing indicator --- Xiao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xiao.js b/Xiao.js index 99e696ba..462b1f6d 100644 --- a/Xiao.js +++ b/Xiao.js @@ -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);