Skip to content

Commit

Permalink
Hotfix replacing debug constant
Browse files Browse the repository at this point in the history
  • Loading branch information
minisbett committed Dec 31, 2023
1 parent 29efeb8 commit d3fa446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huisbot/Modules/ModuleBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public bool IsOnion
SocketGuild guild = Context.Client.GetGuild(546120878908506119);

// Check whether the user is in that guild and has the Onion role.
SocketGuildUser user = guild.GetUser(284725640777695232);
SocketGuildUser user = guild.GetUser(Context.User.Id);
return user != null && user.Roles.Any(x => x.Id == 577267917662715904);
}
}
Expand Down

0 comments on commit d3fa446

Please sign in to comment.