Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a latency command in discord py

@client.command()
async def Ping(ctx):
    await ctx.send(f"PONG! latency is {round(client.latency *1000)} ms!")
 
PREVIOUS NEXT
Tagged: #latency #command #discord #py
ADD COMMENT
Topic
Name
3+3 =