Skip to content

Commit

Permalink
Update: Removed unnecessary parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu committed Sep 8, 2024
1 parent 8b2812a commit 84ffd30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/events/client/InteractionCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {});
}
Expand Down
2 changes: 1 addition & 1 deletion src/events/client/MessageCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {});
}
Expand Down

0 comments on commit 84ffd30

Please sign in to comment.