-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
So basically, when a user has the word here
, everyone
or discord
somewhere in their name, the webhook will fail with an invalid username error.
discord
I know about, and is not an issue, since discord themselves don't allow that word in application/bot or webhook names.
In this specific case, the username of the user is groundsphere
.
When the webhook client has to send a message on behalf of them, it fails with this error:
[com.hypherionmc.sdlink.shaded.club.minnced.discord.webhook.WebhookClient/]: Sending a webhook message failed with non-OK http response
com.hypherionmc.sdlink.shaded.club.minnced.discord.webhook.exception.HttpException: Request returned failure 400: {"message": "Invalid Form Body", "code": 50035, "errors": {"username": {"_errors": [{"code": "USERNAME_INVALID", "message": "Username cannot be \"here\""}]}}}
Actually, now that I look more closely at the error, it appears to be from discord itself and not your library, or am I understanding that wrong?
I am using version 0.8.4
. If this has already been fixed, I apologize.
Metadata
Metadata
Assignees
Labels
No labels