From 84ffd30e652f7f4f006b0f45e70a1d50e727a19d Mon Sep 17 00:00:00 2001 From: hwangsihu Date: Sun, 8 Sep 2024 21:26:55 +0900 Subject: [PATCH] Update: Removed unnecessary parentheses --- src/events/client/InteractionCreate.ts | 2 +- src/events/client/MessageCreate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/client/InteractionCreate.ts b/src/events/client/InteractionCreate.ts index 86aad4139..800f563ac 100644 --- a/src/events/client/InteractionCreate.ts +++ b/src/events/client/InteractionCreate.ts @@ -62,7 +62,7 @@ export default class InteractionCreate extends Event { ) { return await (interaction.member as GuildMember) .send({ - content: T(locale, "event.interaction.no_send_message", {}), + content: T(locale, "event.interaction.no_send_message"), }) .catch(() => {}); } diff --git a/src/events/client/MessageCreate.ts b/src/events/client/MessageCreate.ts index f330dee87..51fd82ffc 100644 --- a/src/events/client/MessageCreate.ts +++ b/src/events/client/MessageCreate.ts @@ -67,7 +67,7 @@ export default class MessageCreate extends Event { ) { return await message.author .send({ - content: T(locale, "event.message.no_send_message", {}), + content: T(locale, "event.message.no_send_message"), }) .catch(() => {}); }