Skip to content

Commit

Permalink
constants
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 committed Aug 31, 2024
1 parent 7359836 commit 5a13333
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/resources/Guild.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Guilds in Discord represent an isolated collection of users and channels, and ar
| INVITES_DISABLED | guild has paused invites, preventing new users from joining |
| INVITE_SPLASH | guild has access to set an invite splash background |
| MEMBER_VERIFICATION_GATE_ENABLED | guild has enabled [Membership Screening](#DOCS_RESOURCES_GUILD/membership-screening-object) |
| MORE_SOUNDBOARD | guild has increased custom soundboard sound slots |
| MORE_STICKERS | guild has increased custom sticker slots |
| NEWS | guild has access to create announcement channels |
| PARTNERED | guild is partnered |
Expand Down
5 changes: 5 additions & 0 deletions docs/topics/Opcodes_and_Status_Codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ Along with the HTTP error code, our API can also return more detailed error code
| 10070 | Unknown Guild Scheduled Event |
| 10071 | Unknown Guild Scheduled Event User |
| 10087 | Unknown Tag |
| 10097 | Unknown sound |
| 20001 | Bots cannot use this endpoint |
| 20002 | Only bots can use this endpoint |
| 20009 | Explicit content cannot be sent to the desired recipient(s) |
Expand Down Expand Up @@ -191,6 +192,7 @@ Along with the HTTP error code, our API can also return more detailed error code
| 30039 | Maximum number of stickers reached |
| 30040 | Maximum number of prune requests has been reached. Try again later |
| 30042 | Maximum number of guild widget settings updates has been reached. Try again later |
| 30045 | Maximum number of soundboard sounds reached |
| 30046 | Maximum number of edits to messages older than 1 hour reached. Try again later |
| 30047 | Maximum number of pinned threads in a forum channel has been reached |
| 30048 | Maximum number of tags in a forum channel has been reached |
Expand Down Expand Up @@ -272,20 +274,23 @@ Along with the HTTP error code, our API can also return more detailed error code
| 50101 | This server needs more boosts to perform this action |
| 50109 | The request body contains invalid JSON. |
| 50110 | The provided file is invalid. |
| 50123 | The provided file type is invalid. |
| 50124 | The provided file duration exceeds maximum of 5.2 seconds. |
| 50131 | Owner cannot be pending member |
| 50132 | Ownership cannot be transferred to a bot user |
| 50138 | Failed to resize asset below the maximum size: 262144 |
| 50144 | Cannot mix subscription and non subscription roles for an emoji |
| 50145 | Cannot convert between premium emoji and normal emoji |
| 50146 | Uploaded file not found. |
| 50151 | The specified emoji is invalid |
| 50159 | Voice messages do not support additional content. |
| 50160 | Voice messages must have a single audio attachment. |
| 50161 | Voice messages must have supporting metadata. |
| 50162 | Voice messages cannot be edited. |
| 50163 | Cannot delete guild subscription integration |
| 50173 | You cannot send voice messages in this channel. |
| 50178 | The user account must first be verified |
| 50192 | The provided file does not have a valid duration. |
| 50600 | You do not have permission to send this sticker. |
| 60003 | Two factor is required for this operation |
| 80004 | No users with DiscordTag exist |
Expand Down

0 comments on commit 5a13333

Please sign in to comment.