mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-03-18 21:40:27 +01:00
Update index.js
This commit is contained in:
6
index.js
6
index.js
@@ -795,11 +795,11 @@ app.post('/interactions', verifyKeyMiddleware(process.env.PUBLIC_KEY), async fun
|
||||
embeds: [
|
||||
{
|
||||
title: `Timeout`,
|
||||
description: `Proposition de timeout **${activePolls[id].toUsername}** pendant ${activePolls[id].time_display}`,
|
||||
description: `Proposition de timeout **${poll.toUsername}** pendant ${poll.time_display}`,
|
||||
fields: [
|
||||
{
|
||||
name: 'Votes totaux',
|
||||
value: '✅ ' + activePolls[id].for,
|
||||
value: '✅ ' + poll.for,
|
||||
inline: true,
|
||||
},
|
||||
],
|
||||
@@ -903,4 +903,4 @@ app.post('/interactions', verifyKeyMiddleware(process.env.PUBLIC_KEY), async fun
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log('Listening on port', PORT);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user