mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
feat: Add 20015 & 50167 HTTPJsonErrorCodes (#5177)
This commit is contained in:
@@ -172,6 +172,8 @@ export enum HTTPJsonErrorCodes {
|
|||||||
ExplicitContent = 20009,
|
ExplicitContent = 20009,
|
||||||
/** You are not authorized to perform this action on this application */
|
/** You are not authorized to perform this action on this application */
|
||||||
UnauthorizedAction = 20012,
|
UnauthorizedAction = 20012,
|
||||||
|
/** This action requires a premium subscription */
|
||||||
|
PremiumRequired = 20015,
|
||||||
/** This action cannot be performed due to slowmode rate limit */
|
/** This action cannot be performed due to slowmode rate limit */
|
||||||
SlowmodeRateLimit = 20016,
|
SlowmodeRateLimit = 20016,
|
||||||
/** Only the owner of this account can perform this action */
|
/** Only the owner of this account can perform this action */
|
||||||
@@ -439,6 +441,8 @@ export enum HTTPJsonErrorCodes {
|
|||||||
VoiceMessageCannotEdit = 50162,
|
VoiceMessageCannotEdit = 50162,
|
||||||
/** Cannot delete guild subscription integration */
|
/** Cannot delete guild subscription integration */
|
||||||
DeleteSubscriptionIntegration = 50163,
|
DeleteSubscriptionIntegration = 50163,
|
||||||
|
/** Cannot send voice effect when user is server muted, deafened, or suppressed */
|
||||||
|
VoiceEffectUserMuted = 50167,
|
||||||
/** You cannot send voice messages in this channel. */
|
/** You cannot send voice messages in this channel. */
|
||||||
NoVoiceMessages = 50173,
|
NoVoiceMessages = 50173,
|
||||||
/** The user account must first be verified */
|
/** The user account must first be verified */
|
||||||
|
|||||||
Reference in New Issue
Block a user