forked from IPD/Foxtrot
Removed username field as it was set as the embed author.
This commit is contained in:
parent
3648e3c6ca
commit
65b316926f
1 changed files with 1 additions and 2 deletions
3
bot.py
3
bot.py
|
@ -103,8 +103,7 @@ async def mc(ctx, *, name = None):
|
||||||
uuid = json["uuid"]
|
uuid = json["uuid"]
|
||||||
#namehistory = ', '.join([f"Name: {i['name']} Changed at: {i['changedToAt']}" for i in json["name_history"]])
|
#namehistory = ', '.join([f"Name: {i['name']} Changed at: {i['changedToAt']}" for i in json["name_history"]])
|
||||||
embed = discord.Embed(title='Minecraft User Information')
|
embed = discord.Embed(title='Minecraft User Information')
|
||||||
embed.set_author(name=f'{username}')
|
embed.set_author(name=f'User {username}')
|
||||||
embed.add_field(name='Username', value=f'{username}', inline=False)
|
|
||||||
embed.add_field(name='UUID', value=f'{uuid}', inline=False)
|
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)
|
embed.add_field(name='Name History', value=f"Name changes: {len(json['name_history'])}", inline=False)
|
||||||
for i in json["name_history"]:
|
for i in json["name_history"]:
|
||||||
|
|
Loading…
Reference in a new issue