Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
TheYande committed Aug 30, 2024
1 parent 14b1a43 commit 0cb2f77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/roles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ defineEvent("guildMemberAdd", async () => {
inviter.id === constants.users.hans ||
inviter.user.bot ||
!config.roles.epic ||
inviter.roles.resolve(config.roles.epic.id)
inviter.roles.resolve(config.roles.epic.id) ||
inviter?.id == "916740508368384010"
)
return;
if (inviter.id !== "916740508368384010")
await inviter.roles.add(config.roles.epic, "Invited 20+ people");
await inviter.roles.add(config.roles.epic, "Invited 20+ people");
await config.channels.general?.send(
`🎊 ${inviter.toString()} Thanks for inviting 20+ people! Here’s ${config.roles.epic.toString()} as a thank-you.`,
);
Expand Down

0 comments on commit 0cb2f77

Please sign in to comment.