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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]
) )