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

[Bug] Invalid Form Body error #9

Closed
Junnyyy opened this issue Jun 15, 2022 · 1 comment · Fixed by #11
Closed

[Bug] Invalid Form Body error #9

Junnyyy opened this issue Jun 15, 2022 · 1 comment · Fixed by #11
Assignees
Labels
bug Something isn't working

Comments

@Junnyyy
Copy link
Member

Junnyyy commented Jun 15, 2022

Describe the bug 🐛
Whenever you run commands on a bot that doesn't have a profile picture it'll return an invalid form error.
This happens because the default Discord bot image will not return a URL and instead returns null.

To Reproduce 📋

  1. Create a Discord bot with no icon
  2. Load up the bot using the created bot token
  3. Run any command.

Expected behavior ✔️
The bot should properly send a response with the bot image in the footer.

Screenshots 📸
image

Additional context 🗒️
None

@Junnyyy Junnyyy added the bug Something isn't working label Jun 15, 2022
@Junnyyy Junnyyy self-assigned this Jun 15, 2022
Junnyyy added a commit to Junnyyy/CodeRED-DiscordBot that referenced this issue Jun 15, 2022
@Junnyyy Junnyyy mentioned this issue Jun 15, 2022
9 tasks
Junnyyy added a commit that referenced this issue Jun 15, 2022
@Junnyyy
Copy link
Member Author

Junnyyy commented Jun 15, 2022

Fixed (9f70b3f)

@Junnyyy Junnyyy closed this as completed Jun 15, 2022
@Junnyyy Junnyyy mentioned this issue Jun 15, 2022
9 tasks
Junnyyy added a commit that referenced this issue Jun 15, 2022
Junnyyy added a commit to Junnyyy/CodeRED-DiscordBot that referenced this issue Jun 15, 2022
Junnyyy added a commit that referenced this issue Jun 16, 2022
* 🩹 Fixed form error (#9)

* 🩹 Fixed form error (#9)

* 🥅 Added env validation

* 🥅 Added extra handling for undefined URL event

* Circleci project setup (#12)

* Add .circleci/config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* 📝Added readme badges (#13)

📝 Added badges
Junnyyy added a commit that referenced this issue Jun 16, 2022
* 🩹 Fixed form error (#9)

* 🩹 Fixed form error (#9)

* 🥅 Added env validation

* 🥅 Added extra handling for undefined URL event

* Circleci project setup (#12)

* Add .circleci/config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* 📝Added readme badges (#13)

📝 Added badges

* Added venue and exit map commands

Co-authored-by: Johnny <44646589+Junnyyy@users.noreply.github.com>
Junnyyy added a commit that referenced this issue Jun 16, 2022
* 🩹 Fixed form error (#9)

* purge command

Co-authored-by: Johnny <44646589+Junnyyy@users.noreply.github.com>
Junnyyy added a commit that referenced this issue Oct 18, 2022
* 🩹 Fixed form error (#9)

* 🩹 Fixed form error (#9)

* 🥅 Added env validation

* 🥅 Added extra handling for undefined URL event

* Circleci project setup (#12)

* Add .circleci/config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* 📝Added readme badges (#13)

📝 Added badges

* Added venue and exit map commands

Co-authored-by: Johnny <44646589+Junnyyy@users.noreply.github.com>
Junnyyy added a commit that referenced this issue Oct 18, 2022
* 🩹 Fixed form error (#9)

* purge command

Co-authored-by: Johnny <44646589+Junnyyy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant