Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinTrinh1227 committed Oct 19, 2023
1 parent 2463fea commit b4e5ba3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions commands/bedwars_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ async def bedwars(self, ctx, *, username):

#player embed
embed = discord.Embed(
title = f"**General Bedwars Stats**",
url = f"https://plancke.io/hypixel/player/stats/{username}",
description = f"**Level: **✫{bedwars_level}\n**UUID:** `{uuid}`",
title = f"**[{bedwars_level}✫] {username}'s Bedwars Stats**",
# url = f"https://plancke.io/hypixel/player/stats/{username}",
description = f"`{uuid}`",
color = embed_color
)
embed.set_author(name = f"{username}'s Profile", icon_url = f"https://crafatar.com/avatars/{uuid}")
# embed.set_author(name = f"{username}'s Profile", icon_url = f"https://crafatar.com/avatars/{uuid}")
embed.timestamp = datetime.datetime.now()
embed.add_field(name='Final Kills', value=bedwars_final_kills, inline=True)
embed.add_field(name='Final Deaths', value=bedwars_final_deaths, inline=True)
Expand All @@ -82,7 +82,7 @@ async def bedwars(self, ctx, *, username):
embed.add_field(name='Kills', value=bedwars_kills, inline=True)
embed.add_field(name='Deaths', value=bedwars_deaths, inline=True)
embed.add_field(name='KDR', value=bedwars_kdr, inline=True)
embed.set_thumbnail(url = f"https://visage.surgeplay.com/bust/128/{uuid}")
embed.set_thumbnail(url = f"https://visage.surgeplay.com/bust/{uuid}.png?y=-40")
embed.set_footer(text = f"Requested by {ctx.author}", icon_url=ctx.author.avatar.url)

await ctx.send(embed=embed)
Expand Down
2 changes: 1 addition & 1 deletion commands/guild_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def guildpoints(self, ctx):
)
#embed.set_thumbnail(url = "{}".format(ctx.guild.icon.url)),
embed.timestamp = datetime.now()
embed.set_footer(text=f"©️ {ctx.guild.name} | {elapsed_time:.4f}s", icon_url = ctx.guild.icon.url)
embed.set_footer(text=f"©️ {ctx.guild.name} | {elapsed_time:.0f}s", icon_url = ctx.guild.icon.url)
await ctx.send(embed=embed)

except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion listeners/daily_gexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async def dailygpoints(self):
)
# embed.set_thumbnail(url = guild_icon_url)
embed.timestamp = datetime.now()
embed.set_footer(text=f"©️ {guild.name} | {elapsed_time:.4f}s", icon_url = guild_icon_url)
embed.set_footer(text=f"©️ {guild.name} | {elapsed_time:.0f}s", icon_url = guild_icon_url)
await channel.send(embed=embed)

already_sent = True
Expand Down

0 comments on commit b4e5ba3

Please sign in to comment.