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

add delete command to reset a lfg channel

This commit is contained in:
Ean Milligan (Bastion)
2023-01-29 01:28:08 -05:00
parent 79673bdf91
commit 19d3aa7819
3 changed files with 72 additions and 2 deletions

View File

@ -4,9 +4,10 @@ import { dbClient } from '../src/db.ts';
console.log('Attempting to insert default actions into command_cnt');
const actions = [
'cmd-setup',
'cmd-delete',
'cmd-info',
'cmd-report',
'cmd-setup',
];
for (const action of actions) {
await dbClient.execute('INSERT INTO command_cnt(command) values(?)', [action]).catch((e) => {