this should also be lowercase
This commit is contained in:
parent
acc3522c2a
commit
902dcb00ea
|
@ -11,24 +11,24 @@ console.log('Insertion done');
|
||||||
|
|
||||||
console.log('Attempting to insert default commands into command_cnt');
|
console.log('Attempting to insert default commands into command_cnt');
|
||||||
const commands = [
|
const commands = [
|
||||||
'ping',
|
'api',
|
||||||
'rip',
|
'audit',
|
||||||
'rollhelp',
|
'emojis',
|
||||||
|
'heatmap',
|
||||||
'help',
|
'help',
|
||||||
'info',
|
'info',
|
||||||
'version',
|
|
||||||
'report',
|
|
||||||
'stats',
|
|
||||||
'roll',
|
|
||||||
'emojis',
|
|
||||||
'api',
|
|
||||||
'privacy',
|
|
||||||
'mention',
|
'mention',
|
||||||
'audit',
|
|
||||||
'heatmap',
|
|
||||||
'rolldecorators',
|
|
||||||
'opt-out',
|
|
||||||
'opt-in',
|
'opt-in',
|
||||||
|
'opt-out',
|
||||||
|
'ping',
|
||||||
|
'privacy',
|
||||||
|
'rip',
|
||||||
|
'report',
|
||||||
|
'roll',
|
||||||
|
'rolldecorators',
|
||||||
|
'rollhelp',
|
||||||
|
'stats',
|
||||||
|
'version',
|
||||||
];
|
];
|
||||||
for (const command of commands) {
|
for (const command of commands) {
|
||||||
await dbClient.execute('INSERT INTO command_cnt(command) values(?)', [command]).catch((e) => {
|
await dbClient.execute('INSERT INTO command_cnt(command) values(?)', [command]).catch((e) => {
|
||||||
|
|
Loading…
Reference in New Issue