Home > Blockchain >  "Application doesn't respond" but command sends output anyway (discord.py slash comma
"Application doesn't respond" but command sends output anyway (discord.py slash comma

Time:01-25

I'm making slash commands for discord bot in dicord.py and when command is executed it shows that app doesn't respond but sends command output anyway. What is wrong?

Command's code:

@bot.tree.command(name="ping", description="Check bot's latency.")
async def ping(ctx):
    await ctx.channel.send(f"``Pong! {round(bot.latency * 1000)}ms``             
  • Related