Add poll chat command with reaction voting

This commit is contained in:
Fisto
2026-09-11 15:59:08 +02:00
parent 8e8c15e8bc
commit ace0bb18ff
16 changed files with 291 additions and 9 deletions
+3
View File
@@ -14,6 +14,7 @@ export const enum PuppetAction {
MessageSend = "message.send",
MessageRead = "message.read",
MessageFetch = "message.fetch",
ReactionAdd = "reaction.add",
DmSend = "dm.send"
}
@@ -25,6 +26,7 @@ export const PuppetActions: readonly PuppetAction[] = [
PuppetAction.MessageSend,
PuppetAction.MessageRead,
PuppetAction.MessageFetch,
PuppetAction.ReactionAdd,
PuppetAction.DmSend
];
@@ -41,6 +43,7 @@ export const enum PuppetErrorCode {
ChannelNotFound = "CHANNEL_NOT_FOUND",
NotSendable = "NOT_SENDABLE",
SendFailed = "SEND_FAILED",
ReactionFailed = "REACTION_FAILED",
DmUnavailable = "DM_UNAVAILABLE",
NotSupported = "NOT_SUPPORTED",
RateLimited = "RATE_LIMITED",