feat: add voting route

This commit is contained in:
CyberL1 authored and Rory& committed 2026-06-25 17:56:49 +02:00
1 parent 305d1d87b2
commit 0efdb5c35a
5 files changed
+78

No files matched your search

+2
View File
@@ -659,6 +659,8 @@ export const DiscordApiErrors = {
STICKER_ANIMATION_DURATION_MAXIMUM: new ApiError("Sticker animation duration exceeds maximum of {} seconds", 170007, undefined, ["5"]),
AUTOMODERATOR_BLOCK: new ApiError("Message was blocked by automatic moderation", 200000),
BULK_BAN_FAILED: new ApiError("Failed to ban users", 500000),
POLL_VOTING_BLOCKED: new ApiError("Poll voting blocked", 520000),
POLL_EXPIRED: new ApiError("Poll expired", 520001),
//Other errors
UNKNOWN_VOICE_STATE: new ApiError("Unknown Voice State", 10065, 404),