Display NSFW channel warning

This commit is contained in:
Jeremy Zhang
2018-01-28 00:43:06 +00:00
parent 7e8b673424
commit e6422b118d
4 changed files with 42 additions and 3 deletions

View File

@ -91,6 +91,7 @@ def get_channels_list(guildchannels):
"type": str(channel.type),
"permission_overwrites": overwrites,
"parent_id": parent,
"nsfw": channel.is_nsfw,
})
return channels