mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
fix: suggestion
Co-authored-by: Almeida <github@almeidx.dev>
This commit is contained in:
parent
01332af1fb
commit
9aca2d5f26
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export class GuildSavedMessages extends BaseGuildRepository<SavedMessage> {
|
|||
if (msg.poll) {
|
||||
data.poll = {
|
||||
question: msg.poll.question,
|
||||
answers: Array.from(msg.poll.answers.values()).map((answer) => ({
|
||||
answers: msg.poll.answers.map((answer) => ({
|
||||
id: answer.id,
|
||||
text: answer.text,
|
||||
})),
|
||||
|
|
Loading…
Add table
Reference in a new issue