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

Arg metatdata in Guild.create_scheduled_event is optional, but Discord API requires it #1162

Open
3 tasks done
ToasterUwU opened this issue Jan 16, 2024 · 0 comments
Open
3 tasks done
Labels
t: unconfirmed bug Type: bug - needs testing on if this is an issue

Comments

@ToasterUwU
Copy link
Contributor

ToasterUwU commented Jan 16, 2024

Summary

If metadata (optional) is not set, it will result in a 400 Bad Request Error

Reproduction Steps

  • Make a simple basic bot
  • Get any guild
  • Create a event without metadata
  • See the error

Minimal Reproducible Code

No response

Expected Results

Event should be created with just no metadata

Actual Results

Exception has occurred: HTTPException
400 Bad Request (error code: 50035): Invalid Form Body
In entity_metadata: This field is required

Intents

Default

System Information

  • Python v3.11.6-final
  • nextcord v2.6.0-final
  • aiohttp v3.9.1
  • system info: Linux 6.6.6-pikaos #4 SMP PREEMPT_DYNAMIC Tue Dec 12 11:16:44 UTC 2023

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

I dont have time to make a PR for this atm, so I will leave this issue here, and if I find the time make a PR for it.

@ToasterUwU ToasterUwU added the t: unconfirmed bug Type: bug - needs testing on if this is an issue label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t: unconfirmed bug Type: bug - needs testing on if this is an issue
Projects
None yet
Development

No branches or pull requests

1 participant