mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Use bot embed colour in [p]dm command (#5868)
This commit is contained in:
parent
76c0ee243e
commit
4158244117
@ -4089,7 +4089,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
||||
description = _("Owner of {}").format(ctx.bot.user)
|
||||
content = _("You can reply to this message with {}contact").format(prefix)
|
||||
if await ctx.embed_requested():
|
||||
e = discord.Embed(colour=discord.Colour.red(), description=message)
|
||||
e = discord.Embed(colour=await ctx.embed_colour(), description=message)
|
||||
|
||||
e.set_footer(text=content)
|
||||
e.set_author(name=description, icon_url=ctx.bot.user.display_avatar)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user