From 33595efc69479dd2ba4e848ff5228c0eab4e1600 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Thu, 11 Aug 2022 22:55:17 +0200 Subject: [PATCH] fix: make slowmode ephemeral --- commands/moderation/slowmode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/moderation/slowmode.ts b/commands/moderation/slowmode.ts index c7dd030..7018840 100644 --- a/commands/moderation/slowmode.ts +++ b/commands/moderation/slowmode.ts @@ -31,6 +31,6 @@ export default commandModule({ ctx.reply({content: `Se han añadido ${seconds} segundos de modo lento al canal de voz actual`}) const sendToMods = ctx.client.guilds.cache.get('928018226330337280')!.channels.cache.get('1004118323258208257') - await sendToMods.send({content: `Se ha aplicado modo lento al canal ${ctx.channel}.\nEfectuado por ${ctx.user} con ${seconds} segundos de retardo.\nRazón: ${reason}`}) + await sendToMods.send({content: `Se ha aplicado modo lento al canal ${ctx.channel}.\nEfectuado por ${ctx.user} con ${seconds} segundos de retardo.\nRazón: ${reason}`, ephemeral: true}) }, }); \ No newline at end of file