From 65b316926f807b811a6aae212367b529a7d517d3 Mon Sep 17 00:00:00 2001 From: Helixu Date: Sat, 20 Nov 2021 14:38:16 +0000 Subject: [PATCH] Removed username field as it was set as the embed author. --- bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index ed64920..0776574 100755 --- a/bot.py +++ b/bot.py @@ -103,8 +103,7 @@ async def mc(ctx, *, name = None): uuid = json["uuid"] #namehistory = ', '.join([f"Name: {i['name']} Changed at: {i['changedToAt']}" for i in json["name_history"]]) embed = discord.Embed(title='Minecraft User Information') - embed.set_author(name=f'{username}') - embed.add_field(name='Username', value=f'{username}', inline=False) + embed.set_author(name=f'User {username}') embed.add_field(name='UUID', value=f'{uuid}', inline=False) embed.add_field(name='Name History', value=f"Name changes: {len(json['name_history'])}", inline=False) for i in json["name_history"]: