fix typo in call to discord.Embed.set_author
@@ -127,7 +127,7 @@ class Mod(commands.Cog):
warns = await self.db.fetch_warns(user.id, ctx.guild.id)
embed = discord.Embed(color=self.d.cc)
- embed.set_author(author=f'{user}\'s warnings ({len(warns)} total):')
+ embed.set_author(name=f'{user}\'s warnings ({len(warns)} total):', avatar_url=user.avatar_url_as())
if len(warns) < 1:
embed.add_field(name=f'{user} has no warnings.')
