Answers for "how to ping with discordpy"

0

discord.py ping command

@bot.command(name="ping")
async def ping(ctx: commands.Context):
    await ctx.send(f"Pong! {round(bot.latency * 1000)}ms")
Posted by: Guest on October-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language