Coding Global Background
Coding Global

python discord

Archived 2 years ago
2 messages
0 members
2 years ago
Open in Discord
P
rak

`@client.hybrid_command(name= "ping", description= "this isnt ur wifi") async def ping(interaction : Interaction): bot_latency = round(client.latency*1000) await interaction.response.send_message(f"my good ping is {bot_latency}ms")` File "c:\Users\rakhi\Desktop\proj\discordbot.py", line 67, in ping await interaction.response.send_message(f"my good ping is {bot_latency}ms") ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Context' object has no attribute 'response

Replies (2)