Skip to content

Commit

Permalink
Merge pull request #365 from PyBotDevs/add-current-ping-info-to-statu…
Browse files Browse the repository at this point in the history
…s-cmd

Add current bot ping value to `/status` command
  • Loading branch information
notsniped authored Apr 17, 2024
2 parents 2346cbe + 378a1cc commit 6d19aff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cogs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ async def status(self, ctx: ApplicationContext):
localembed.add_field(name="CPU Usage", value=sys_cpu)
localembed.add_field(name="Registered Users", value=f"{bot_users} users", inline=True)
localembed.add_field(name="Total Users", value=f"{total_users} users")
localembed.add_field(name="Uptime History", value="[here](https://stats.uptimerobot.com/PlKOmI0Aw8)", inline=True)
localembed.add_field(name="Ping", value=f"{round(self.bot.latency * 1000, 2)} ms", inline=True)
localembed.add_field(name="Uptime History", value="[here](https://stats.uptimerobot.com/PlKOmI0Aw8)")
localembed.add_field(name="Release Notes", value="[latest](https://github.com/PyBotDevs/isobot/releases/latest)")
localembed.set_footer(text=f"Requested by {ctx.author.name}", icon_url=ctx.author.avatar)
await ctx.respond(embed=localembed)
Expand Down

0 comments on commit 6d19aff

Please sign in to comment.