From 2e5c6adecb352c3e0f3680a90900f541d31876ee Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Wed, 15 Aug 2018 22:51:30 +0000 Subject: [PATCH] Show members even if rich embeds is disabled --- discordbot/titanembeds/commands.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/discordbot/titanembeds/commands.py b/discordbot/titanembeds/commands.py index 0aa6f2f..f851d6b 100644 --- a/discordbot/titanembeds/commands.py +++ b/discordbot/titanembeds/commands.py @@ -115,4 +115,7 @@ class Commands(): color = 7964363, description = embed_description ) - await message.channel.send(embed=embed) \ No newline at end of file + if message.guild.me.permissions_in(message.channel).embed_links: + await message.channel.send(embed=embed) + else: + await message.channel.send("__**Currently Online Embed Members**__\n" + embed_description) \ No newline at end of file