1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-06-04 08:53:49 -04:00

clean up button implementation some, start on custom act modal

This commit is contained in:
Ean Milligan (Bastion)
2023-02-02 02:26:28 -05:00
parent dad0b8ca76
commit d5f0b08e08
5 changed files with 84 additions and 28 deletions

View File

@@ -1,11 +1,7 @@
import { Bot, BotWithCache, Interaction } from '../../deps.ts';
import { buttons } from '../buttons/_index.ts';
import { commands } from '../commands/_index.ts';
import { Button } from '../types/commandTypes.ts';
import { createEventButton } from '../buttons/event-creation/step1-gameSelection.ts';
const buttons: Array<Button> = [createEventButton];
const commandNames: Array<string> = commands.map((command) => command.details.name);
const buttonNames: Array<string> = buttons.map((button) => button.customId);