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
+5 -1
View File
@@ -120,7 +120,11 @@ export class CoreClient {
}
async sendMessage(channelId: string, content: string) {
await this.request("message.send", { channelId, content });
return this.request<{ messageId?: string }>("message.send", { channelId, content });
}
async reactionAdd(channelId: string, messageId: string, emoji: string) {
return this.request("reaction.add", { channelId, messageId, emoji });
}
async sendDm(userId: string, content: string) {