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:
@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user