1
0
Fork 0
mirror of synced 2024-04-29 18:22:36 +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 return
fmt = "" 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( fmt += "\n".join(
[ [
"Successfully removed {}".format(r.name) "Successfully removed {}".format(r.name)