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

Once supported by API, remove has_message=true query parameter #1735

Closed
github-actions bot opened this issue Oct 26, 2022 · 0 comments · Fixed by #2191
Closed

Once supported by API, remove has_message=true query parameter #1735

github-actions bot opened this issue Oct 26, 2022 · 0 comments · Fixed by #2191

Comments

@github-actions
Copy link
Contributor

Line: 1196

pycord//discord/http.py

Lines 1193 to 1203 in 6ab3292

if rate_limit_per_user:
payload["rate_limit_per_user"] = rate_limit_per_user
# TODO: Once supported by API, remove has_message=true query parameter
route = Route(
"POST",
"/channels/{channel_id}/threads?has_message=true",
channel_id=channel_id,
)
return self.request(route, json=payload, reason=reason)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants