Skip to content

Commit

Permalink
Merge pull request #720 from hwangsihu/main
Browse files Browse the repository at this point in the history
Remove unnecessary parentheses
  • Loading branch information
LucasB25 authored Sep 8, 2024
2 parents e526d13 + 84ffd30 commit 563fc9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/events/client/InteractionCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +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
3 changes: 1 addition & 2 deletions src/events/client/MessageCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +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 563fc9c

Please sign in to comment.