I have a big problem.
I code discord bots with python using discord_slash. But since today, evey slash command that I make, it sends one message and then it sends an error saying:
discord.errors.HTTPException: 401 Unauthorized (error code: 50027): Invalid Webhook Token
So commands that sends 2 messages only sends one.
It does this to all my bots with slash commands.
This is an example of command that I make (just so you see it's a regular command):
@slash.slash(name = "Ping", description = "Check the bots time response")
async def ping(ctx):
embed = discord.Embed(title = "Pong.", description = f"**:chicken: `{int(bot.latency * 1000)}` ms**")
await ctx.send(embed = embed)
I tried reinstalling discord.py and it cannot be a token problem since it does the error on all my bots.
(I specify the fact that I checked many forums)
A help would be great thank you