1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Add a check for nsfw channels, assume this channel is...nsfw

This commit is contained in:
Phxntxm 2017-05-07 21:50:28 -05:00
parent 75b0d2705f
commit bfa859ac1e

View file

@ -34,6 +34,8 @@ def get_all_subcommands(command):
async def channel_is_nsfw(channel):
if channel.is_nsfw():
return True
if type(channel) is discord.DMChannel:
server = 'DMs'
else: