Allow PM's to not be ignored
This commit is contained in:
parent
7f48f11586
commit
d485f64f25
|
@ -66,6 +66,8 @@ def is_owner(ctx):
|
|||
return ctx.message.author.id in config.owner_ids
|
||||
|
||||
def should_ignore(message):
|
||||
if message.guild is None:
|
||||
return False
|
||||
try:
|
||||
server_settings = config.cache.get('server_settings').values
|
||||
ignored = [x for x in server_settings if x['server_id'] == str(
|
||||
|
|
Loading…
Reference in a new issue