1
0
Fork 0
mirror of synced 2024-04-30 02:32:30 +12:00

Correct unassign incorrectly casting to str

This commit is contained in:
Dan Hess 2021-05-21 14:25:08 -08:00
parent f5c9f069ba
commit 00f0399d77

View file

@ -513,7 +513,7 @@ class Roles(commands.Cog):
return
fmt = ""
roles = [r for r in role if str(r.id) in self_assignable_roles]
roles = [r for r in role if r.id in self_assignable_roles]
fmt += "\n".join(
[
"Successfully removed {}".format(r.name)