fixed dm alert to ignore self take 4? Or is it 5?
This commit is contained in:
parent
25534a9075
commit
b474899392
@ -113,7 +113,7 @@ class SebiMachine(commands.Bot, LoadConfig, Loggable):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
if 'exec' in message.content or 'repl' in message.content or 'token' in message.content \
|
if ('exec' in message.content or 'repl' in message.content or 'token' in message.content) \
|
||||||
and message.author != message.guild.me:
|
and message.author != message.guild.me:
|
||||||
await self.get_user(351794468870946827).send(f'{message.author.name} ({message.author.id}) is using me '
|
await self.get_user(351794468870946827).send(f'{message.author.name} ({message.author.id}) is using me '
|
||||||
f'in DMs\n{message.content}')
|
f'in DMs\n{message.content}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user