Browse Source

Make private ping only displayed in birdflop discord

pull/15/merge
Purpur 4 years ago
committed by GitHub
parent
commit
4da058ae32
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      bot.py

3
bot.py

@ -133,7 +133,8 @@ async def on_raw_reaction_add(payload):
@bot.command()
async def ping(ctx):
if running_on_panel:
await ctx.send(f'Private bot ping is {round(bot.latency * 1000)}ms')
if guild_id == ctx.guild.id:
await ctx.send(f'Private bot ping is {round(bot.latency * 1000)}ms')
if not running_on_panel:
await ctx.send(f'Public bot ping is {round(bot.latency * 1000)}ms')

Loading…
Cancel
Save