Skip to content

Commit

Permalink
Fix valid_blacklist_roles not being set to empty (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
elmodor authored Apr 12, 2024
1 parent e8061cf commit a51fd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion giveaways/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def convert(self, ctx, argument):
valid_blacklist_roles.append(role.id)
except BadArgument:
raise BadArgument(f"The role {role} does not exist within this server.")
vals["blacklist"] = valid_blacklist_roles = []
vals["blacklist"] = valid_blacklist_roles

valid_mentions = []
for role in vals["mentions"]:
Expand Down

0 comments on commit a51fd5d

Please sign in to comment.