Skip to content

Commit

Permalink
Add error code 30046, see discord/discord-api-docs@a4be17f (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann authored Jan 29, 2022
1 parent 644a89c commit 4bfbab1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rest/src/main/kotlin/json/JsonErrorCode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ enum class JsonErrorCode(val code: Int) {
/** Maximum number of guild widget settings updates has been reached. Try again later. */
MaxGuildWidgetSettingsUpdates(30042),

/** Maximum number of edits to messages older than 1 hour reached. Try again later. */
MaxOldMessageEdits(30046),

/** Unauthorized. Provide a valid token and try again. */
Unauthorized(40001),

Expand Down

0 comments on commit 4bfbab1

Please sign in to comment.