Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Polls - invalid emoteColor count value #272

Open
Eccleria opened this issue Dec 1, 2023 · 0 comments
Open

Fix Polls - invalid emoteColor count value #272

Eccleria opened this issue Dec 1, 2023 · 0 comments
Assignees
Labels
bug Fatal issue

Comments

@Eccleria
Copy link
Owner

Eccleria commented Dec 1, 2023

file:///home/ewibot/ewibot/src/commands/polls/pollsVote.js:130
      emoteColor.repeat(nb) +
                 ^

RangeError: Invalid count value
    at String.repeat (<anonymous>)
    at file:///home/ewibot/ewibot/src/commands/polls/pollsVote.js:130:18
    at Array.reduce (<anonymous>)
    at pollVoteHandler (file:///home/ewibot/ewibot/src/commands/polls/pollsVote.js:124:31)
    at voteButtonHandler (file:///home/ewibot/ewibot/src/commands/polls/pollsHandlers.js:43:11)
    at pollsButtonHandler (file:///home/ewibot/ewibot/src/commands/polls/pollsHandlers.js:21:29)
    at Timeout.pollBufferLoop [as _onTimeout] (file:///home/ewibot/ewibot/src/commands/polls/pollsCollectors.js:41:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
@Eccleria Eccleria added the bug Fatal issue label Dec 1, 2023
@Eccleria Eccleria self-assigned this Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fatal issue
Projects
None yet
Development

No branches or pull requests

1 participant