mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +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) {
|
if (msg.poll) {
|
||||||
data.poll = {
|
data.poll = {
|
||||||
question: msg.poll.question,
|
question: msg.poll.question,
|
||||||
answers: Array.from(msg.poll.answers.values()).map((answer) => ({
|
answers: msg.poll.answers.map((answer) => ({
|
||||||
id: answer.id,
|
id: answer.id,
|
||||||
text: answer.text,
|
text: answer.text,
|
||||||
})),
|
})),
|
||||||
|
|
Loading…
Add table
Reference in a new issue