1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-01-06 11:27:54 -05:00

Properly initialize join/leave/alt btns

This commit is contained in:
Ean Milligan (Bastion)
2023-04-07 01:45:33 -04:00
parent d60668e86f
commit fa0ffe35e5
4 changed files with 40 additions and 3 deletions

View File

@ -13,6 +13,10 @@ const actions = [
'btn-customAct',
'btn-createEvt',
'btn-createWLEvt',
'btn-joinEvent',
'btn-joinWLEvent',
'btn-leaveEvent',
'btn-altEvent',
];
for (const action of actions) {
await dbClient.execute('INSERT INTO command_cnt(command) values(?)', [action]).catch((e) => {