Hey! I am developing a discord bot using Discord.py. How do I make a ping command like this?
Instead of this:
Im using {client.latency}
for mine.
Hey! I am developing a discord bot using Discord.py. How do I make a ping command like this?
Instead of this:
Im using {client.latency}
for mine.
await ctx.send('Pong! {0}'.format(round(client.latency, 1)))
A bit of rounding and maths.
thank you very much!
This topic was automatically closed after 7 days. New replies are no longer allowed.