I don't understand why i can't respond to the interaction using await msg.reply(). Thanks
Code
Code Explanation
This is my ping command. If the ping is higher than 50ms, then I want the bot to reply to the
inter.response.send_message(embed=embed)as if I right clicked a message and selected reply and ping the appropriate staff so that we can figure out why the bog is lagging.
Current Problem
When I execute the
/pingcommand, it sends the embed like normal (as I have the latency purposefully set equal to 50), but then tells me that the reply part is failing.
Expected Results
I expect to execute the ping command. If the ping is
>= 50then the bot needs to reply to the message of the executed command, and tag the appropriate staff. If the ping is not>= 50then it doesn't need to do anything but just send the latency back ephemerally.
Error