From 00f0399d77b81d8149e6a37d630e813a4394b7f3 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Fri, 21 May 2021 14:25:08 -0800 Subject: [PATCH] Correct unassign incorrectly casting to str --- cogs/roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/roles.py b/cogs/roles.py index 7b9907f..fe75fd3 100644 --- a/cogs/roles.py +++ b/cogs/roles.py @@ -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)