1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-01-08 13:27:55 -05:00

V4.1.0 - Add unrestricted repeat roll system.

This commit is contained in:
Ean Milligan
2025-08-05 15:46:11 -04:00
parent 2f088907ad
commit 255955d854
20 changed files with 348 additions and 22 deletions

View File

@ -22,8 +22,20 @@ await dbClient.execute(`DROP TABLE IF EXISTS command_cnt;`);
await dbClient.execute(`DROP TABLE IF EXISTS ignore_list;`);
await dbClient.execute(`DROP TABLE IF EXISTS allow_inline;`);
await dbClient.execute(`DROP TABLE IF EXISTS aliases;`);
await dbClient.execute(`DROP TABLE IF EXISTS allow_unrestricted_repeat;`);
console.log('Tables dropped');
// Holds guilds that have explicitly allowed anyone to repeat anyone's rolls
console.log('Attempting to create table allow_unrestricted_repeat');
await dbClient.execute(`
CREATE TABLE allow_unrestricted_repeat (
guildid bigint unsigned NOT NULL,
PRIMARY KEY (guildid),
UNIQUE KEY allow_unrestricted_repeat_guildid_UNIQUE (guildid)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
`);
console.log('Table created');
// Holds all aliases that have been created
console.log('Attempting to create table aliases');
await dbClient.execute(`

View File

@ -25,6 +25,7 @@ const commands = [
'ping',
'privacy',
'rip',
'repeat',
'report',
'roll',
'rolldecorators',