sharding (blacklists): Blacklist shard support.
Moved the `user_blacklist` and `guild_blacklist` to a client TTL cache.
This commit is contained in:
@@ -134,7 +134,7 @@ class Reminder:
|
||||
"""
|
||||
Execute the reminder.
|
||||
"""
|
||||
if self.data.userid in client.objects['blacklisted_users']:
|
||||
if self.data.userid in client.user_blacklist():
|
||||
self.delete(self.reminderid)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user