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