Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Urban | Invalid Form Body #33

Closed
TypicallyShad opened this issue Jul 14, 2020 · 2 comments
Closed

Urban | Invalid Form Body #33

TypicallyShad opened this issue Jul 14, 2020 · 2 comments
Assignees
Labels
Bug Something went wrong. To Do Stuff that needs to be done

Comments

@TypicallyShad
Copy link

Using the urban command to search for "dee" will result in the error below:
(https://www.urbandictionary.com/define.php?term=Dee)

DiscordAPIError: Invalid Form Body
embed.fields[0].value: Must be 1024 or fewer in length.

@Multarix
Copy link
Owner

Multarix commented Jul 15, 2020

This happens due to how the command is coded and the fact that there are certain words within urban dictionary that have a description that is over 1024 characters, the only solution I have is to trail off or simply post a link when this is encountered.
I can work out a fix for this tonight or tomorrow as my pc is currently being upgraded.

@Multarix Multarix self-assigned this Jul 15, 2020
@Multarix Multarix added Bug Something went wrong. To Do Stuff that needs to be done labels Jul 15, 2020
@Multarix
Copy link
Owner

This should be fixed now, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something went wrong. To Do Stuff that needs to be done
Projects
None yet
Development

No branches or pull requests

2 participants