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

Deprecate group DM endpoint methods #86

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

kaine119
Copy link
Contributor

Summary

Bots aren't allowed in group DMs, and while the API docs list a bunch of methods for managing group DMs, they aren't meant for bots to use, and don't work as currently implemented.

The API methods are meant to be used by the (deprecated) GameBridge SDK to invite people to a temporary "room" on Discord, relying on each party authenticating with an OAuth application separately.

Fixes #16


Deprecated

Discordrb::API::Channel

  • .create_empty_group
  • .create_group
  • .add_group_user
  • .remove_group_user
  • .leave_group

The endpoints these methods call, while still functional, aren't meant for use
by bots, and can't be called as implemented here.
@Daniel-Worrall Daniel-Worrall added the documentation Improvements or additions to documentation label Jan 18, 2022
@swarley swarley merged commit 77080de into shardlab:main Apr 14, 2022
@swarley
Copy link
Member

swarley commented Apr 14, 2022

Thanks!

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

Successfully merging this pull request may close these issues.

Test/Remove group channel methods?
3 participants