mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
fix: terrible ID's
This commit is contained in:
parent
de0fef6444
commit
eb56dffa59
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ export default class ZeonPoll implements Command {
|
|||
return;
|
||||
}
|
||||
|
||||
const pollId = `poll_${Date.now()}`;
|
||||
const pollId = `${Date.now()}`;
|
||||
polls[pollId] = {
|
||||
question: question.trim(),
|
||||
options: options.map((opt) => opt.trim()),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue