Skip to content

Commit

Permalink
Add a little bit more info to the embed footer
Browse files Browse the repository at this point in the history
  • Loading branch information
notsniped committed Apr 19, 2024
1 parent 7e30489 commit 8bf8689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/levelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ async def rank(self, ctx: ApplicationContext, user: discord.User=None):
localembed = discord.Embed(title=f"{user.display_name}'s rank", color=color)
localembed.add_field(name="Level", value=levelling.get_level(user.id))
localembed.add_field(name="XP", value=f"{levelling.get_xp(user.id)}/{xpreq} gained")
localembed.set_footer(text="Keep chatting to earn levels!")
await ctx.respond(embed = localembed)
localembed.set_footer(text="Keep chatting in servers to earn levels!\nYour rank is global across all servers.")
await ctx.respond(embed=localembed)
except KeyError: return await ctx.respond("Looks like that user isn't indexed yet. Try again later.", ephemeral=True)

@commands.slash_command(
Expand Down

0 comments on commit 8bf8689

Please sign in to comment.