1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-01-08 04:17:54 -05:00

Finalize event creation

Add active_event db table
Rename gameSelection button to gameSelection for consistency
Fix prefill for DateTime modal to correctly parse time and to not misparse other embeds
Add autoCleanup to finalize step
Add whole createEvent step
Code usability updates to event-creation utils
This commit is contained in:
Ean Milligan (Bastion)
2023-04-06 23:23:52 -04:00
parent be4caa1fb1
commit e609654761
8 changed files with 116 additions and 22 deletions

View File

@ -6,9 +6,9 @@ import info from './info.ts';
import report from './report.ts';
import setup from './setup.ts';
import deleteCmd from './delete.ts';
import { createEventCommand } from '../buttons/event-creation/step1-gameSelection.ts';
import { gameSelectionCommand } from '../buttons/event-creation/step1-gameSelection.ts';
export const commands: Array<Command> = [deleteCmd, info, report, setup, createEventCommand];
export const commands: Array<Command> = [deleteCmd, info, report, setup, gameSelectionCommand];
export const createSlashCommands = async (bot: Bot) => {
const globalCommands: MakeRequired<CreateApplicationCommand, 'name'>[] = [];