Merge pull request #5014

* [General] Provide the urban command with embed color

* spelling consistency...
This commit is contained in:
Kreusada
2021-05-19 12:25:54 +01:00
committed by GitHub
parent 00d2d62f1b
commit 700802c303

View File

@@ -507,7 +507,7 @@ class General(commands.Cog):
# a list of embeds
embeds = []
for ud in data["list"]:
embed = discord.Embed()
embed = discord.Embed(color=await ctx.embed_color())
title = _("{word} by {author}").format(
word=ud["word"].capitalize(), author=ud["author"]
)