mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Merge pull request #5014
* [General] Provide the urban command with embed color * spelling consistency...
This commit is contained in:
parent
00d2d62f1b
commit
700802c303
@ -507,7 +507,7 @@ class General(commands.Cog):
|
|||||||
# a list of embeds
|
# a list of embeds
|
||||||
embeds = []
|
embeds = []
|
||||||
for ud in data["list"]:
|
for ud in data["list"]:
|
||||||
embed = discord.Embed()
|
embed = discord.Embed(color=await ctx.embed_color())
|
||||||
title = _("{word} by {author}").format(
|
title = _("{word} by {author}").format(
|
||||||
word=ud["word"].capitalize(), author=ud["author"]
|
word=ud["word"].capitalize(), author=ud["author"]
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user