Skip to content

Commit

Permalink
Fix !dont-keep-me-updated not responding on success
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Jun 13, 2024
1 parent d855103 commit 829b6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/UserRoles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static async Task RemoveUserRolesAsync(CommandContext ctx, Func<System.Re
{
// quick patch to exclude giveaways role
if ((ulong)roleId.GetValue(Program.cfgjson.UserRoles, null) == Program.cfgjson.UserRoles.Giveaways)
return;
continue;

DiscordRole roleToGrant = guild.GetRole((ulong)roleId.GetValue(Program.cfgjson.UserRoles, null));
await ctx.Member.RevokeRoleAsync(roleToGrant);
Expand Down

0 comments on commit 829b6ee

Please sign in to comment.