aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-20 23:23:17 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-20 23:23:17 +0100
commitf5ffe7e2c4fe2ef15fb40dc839b121ca8c139511 (patch)
tree327879c89bb5474b1c674d2b78936d7c35a5a0f7
parentSmall formatting fixes; don't send users that don't have the developer role (diff)
Fix typing issue
-rw-r--r--bot/cogs/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/events.py b/bot/cogs/events.py
index 6f9b502c2..3241e0bd8 100644
--- a/bot/cogs/events.py
+++ b/bot/cogs/events.py
@@ -25,7 +25,7 @@ class Events:
self.bot = bot
async def send_updated_users(self, *users, replace_all=False):
- users = filter(lambda user: VERIFIED_ROLE in user["roles"], users)
+ users = filter(lambda user: str(VERIFIED_ROLE) in user["roles"], users)
try:
if replace_all: