feat: polls

Added support for polls similar to discord.js v14 (including class, event).
Breaking change: Do not use and remove MessagePoll.
This commit is contained in:
Elysia
2024-10-27 10:45:29 +07:00
parent 4c39f68353
commit 966f25bb8d
21 changed files with 8898 additions and 395 deletions

2
typings/enums.d.ts vendored
View File

@@ -88,7 +88,7 @@ export const enum ForumLayoutTypes {
GALLERY_VIEW = 2,
}
export const enum MessagePollLayoutTypes {
export const enum PollLayoutTypes {
DEFAULT = 1,
IMAGE_ONLY_ANSWERS,
}