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``