Add poll chat command with reaction voting
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user