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

Add light telemetry (command counting)

This commit is contained in:
Ean Milligan (Bastion)
2023-04-07 00:30:47 -04:00
parent 5ccf65d89b
commit 0a4c622dfe
4 changed files with 23 additions and 0 deletions

View File

@ -8,6 +8,11 @@ const actions = [
'cmd-info',
'cmd-report',
'cmd-setup',
'cmd-gameSel',
'btn-gameSel',
'btn-customAct',
'btn-createEvt',
'btn-createWLEvt',
];
for (const action of actions) {
await dbClient.execute('INSERT INTO command_cnt(command) values(?)', [action]).catch((e) => {