diff --git a/index.ts b/index.ts index 27a67d7..eb653fc 100644 --- a/index.ts +++ b/index.ts @@ -42,6 +42,8 @@ client.on("messageCreate", async (message) => { if (message.content.startsWith("\\")) return; if (message.channel.type != ChannelType.GuildText) return; + // "adapted" from https://github.com/ryanccn/blahaj/blob/main/src/chat.ts + await message.channel.sendTyping(); const typingTimer = setInterval(() => { if (message.channel.type == ChannelType.GuildText)