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

utils reorg, moved things that are shared between live, editing, and creation to general utils file

This commit is contained in:
Ean Milligan (Bastion)
2023-04-08 02:52:54 -04:00
parent fa0ffe35e5
commit 3769fe5724
8 changed files with 36 additions and 57 deletions

View File

@@ -1,7 +1,7 @@
import { Bot, BotWithCache, Interaction, log, LT } from '../../deps.ts';
import { buttons } from '../buttons/_index.ts';
import { commands } from '../commands/_index.ts';
import { idSeparator } from '../buttons/event-creation/utils.ts';
import { idSeparator } from '../buttons/eventUtils.ts';
const commandNames: Array<string> = commands.map((command) => command.details.name);
const buttonNames: Array<string> = buttons.map((button) => button.customId);