feat: Add 20015 & 50167 HTTPJsonErrorCodes (#5177)

This commit is contained in:
Fleny
2026-07-24 17:27:15 +05:30
committed by GitHub
parent 0e579bdb0b
commit 40abc1ee21
+4
View File
@@ -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 */