fix: terrible ID's

This commit is contained in:
Saahil 2024-12-16 21:49:36 -05:00
parent de0fef6444
commit eb56dffa59
No known key found for this signature in database
GPG key ID: 8A8B64515254CFC6

View file

@ -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()),