Skip to content

Commit

Permalink
Add 50138 Error code (#2456)
Browse files Browse the repository at this point in the history
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 10, 2022
1 parent 525dd60 commit 1b01fed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Discord.Net.Core/DiscordErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,14 @@ public enum DiscordErrorCode
ServerRequiresMonetization = 50097,
ServerRequiresBoosts = 50101,
RequestBodyContainsInvalidJSON = 50109,
#endregion

#region 2FA (60XXX)
FailedToResizeAssetBelowTheMaximumSize = 50138,
OwnershipCannotBeTransferredToABotUser = 50132,
AssetResizeBelowTheMaximumSize= 50138,
UploadedFileNotFound = 50146,
MissingPermissionToSendThisSticker = 50600,
#endregion

#region 2FA (60XXX)
Requires2FA = 60003,
#endregion

Expand Down

0 comments on commit 1b01fed

Please sign in to comment.