mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3] Drop an unnecessary if in embed_requested (#1468)
This commit is contained in:
parent
4e2b83c052
commit
61b34e835e
@ -168,9 +168,8 @@ class RedBase(BotBase, RpcMethodMixin):
|
|||||||
return user_setting
|
return user_setting
|
||||||
else:
|
else:
|
||||||
guild_setting = await self.db.guild(channel.guild).embeds()
|
guild_setting = await self.db.guild(channel.guild).embeds()
|
||||||
if command and command != self.get_command("help"):
|
if guild_setting is not None:
|
||||||
if guild_setting is not None:
|
return guild_setting
|
||||||
return guild_setting
|
|
||||||
global_setting = await self.db.embeds()
|
global_setting = await self.db.embeds()
|
||||||
return global_setting
|
return global_setting
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user