Browse Source

Add 30052, 50017, 220003 Error codes

pull/2355/head
Discord.Net Robot 3 years ago
parent
commit
aae6ece35a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/Discord.Net.Core/DiscordErrorCode.cs

+ 3
- 0
src/Discord.Net.Core/DiscordErrorCode.cs View File

@@ -96,6 +96,7 @@ namespace Discord
#endregion #endregion


#region General Request Errors (40XXX) #region General Request Errors (40XXX)
BitrateIsTooHighForChannelOfThisType = 30052,
TokenUnauthorized = 40001, TokenUnauthorized = 40001,
InvalidVerification = 40002, InvalidVerification = 40002,
OpeningDMTooFast = 40003, OpeningDMTooFast = 40003,
@@ -124,6 +125,7 @@ namespace Discord
InvalidAuthenticationToken = 50014, InvalidAuthenticationToken = 50014,
NoteTooLong = 50015, NoteTooLong = 50015,
ProvidedMessageDeleteCountOutOfBounds = 50016, ProvidedMessageDeleteCountOutOfBounds = 50016,
InvalidMFALevel = 50017,
InvalidPinChannel = 50019, InvalidPinChannel = 50019,
InvalidInvite = 50020, InvalidInvite = 50020,
CannotExecuteOnSystemMessage = 50021, CannotExecuteOnSystemMessage = 50021,
@@ -196,4 +198,5 @@ namespace Discord
FailedStageCreation = 180002, FailedStageCreation = 180002,
#endregion #endregion
} }
WebhooksCanOnlyCreateThreadsInForumChannels = 220003,
} }

Loading…
Cancel
Save