mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 23:22:56 +00:00
enhancement(lint): Fix lint errors for src/commands/poll.ts
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
fff129861d
commit
de0fef6444
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export default class ZeonPoll implements Command {
|
|||
|
||||
const [pollId, optionIndex] = action.value.split("_").slice(1);
|
||||
const userId = body.user.id;
|
||||
console.log(pollId, action.value, userId, polls)
|
||||
console.log(pollId, action.value, userId, polls);
|
||||
if (!polls[pollId]) return;
|
||||
|
||||
if (!polls[pollId].allowMultiple && polls[pollId].votes[userId]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue