document error code 50167 & 20015#8242
Open
Lulalaby wants to merge 2 commits intodiscord:mainfrom
Open
Conversation
Contributor
|
bots should be able to use sounds from other guilds. if they get that error it's a bug |
Contributor
|
the cross-guild sound bug has been fixed, you shouldn't get that error on soundboard anymore. |
Contributor
Author
|
Thank you! Want me to undocument 20015? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
POST: https://canary.discord.com/api/v10/channels/1009914422619295887/send-soundboard-sound{ "sound_id": 1485962357971750912, "source_guild_id": 483279257431441410 }50167 happens if we send a soundboard sound while being deafened
Result:
403 Forbidden{ "message": "Cannot send voice effect when user is server muted, deafened, or suppressed", "code": 50167 }20015 happens if we send the soundboard sound of another guild
Result:
403 Forbidden{ "message": "This action requires a premium subscription", "code": 20015 }Arguable whether bot should or should not be able to use sounds from other guilds.
I remember it worked at some point..