summary refs log tree commit diff
path: root/src/api/util/utility/polls.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-11-06 18:28:32 +0100
committerRory& <root@rory.gay>2026-11-06 18:28:32 +0100
commit96571d975d08641e6a1c4602aafe728b171f8bc3 (patch)
tree5d7dcfda69b273d9ecb5c65487b705b963141899 /src/api/util/utility/polls.ts
parentinclude member roles in interactions (diff)
downloadserver-ts-github/master.tar.xz
allow poll=null in message create HEAD github/master github/HEAD master
Diffstat (limited to 'src/api/util/utility/polls.ts')
-rw-r--r--src/api/util/utility/polls.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/util/utility/polls.ts b/src/api/util/utility/polls.ts

index 549726c13..bc1bb9540 100644 --- a/src/api/util/utility/polls.ts +++ b/src/api/util/utility/polls.ts
@@ -27,7 +27,7 @@ export async function generatePollResultsMessage(options: MessageOptions): Promi const message = Message.create({ ...options, message_reference: options.message_reference ?? undefined, - poll: options.poll, + poll: options.poll ?? undefined, // sticker_items: stickers, // guild_id: options.guild_id, channel_id: options.channel_id,