From 8c6a3749dfe5438c229fd3b66e1b8c7324c09438 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Thu, 2 Feb 2023 21:33:27 -0500 Subject: [PATCH] Finish most of the create event --- src/buttons/_index.ts | 3 +- .../event-creation/step1-gameSelection.ts | 52 +++++------ .../event-creation/step1a-openCustomModal.ts | 25 ++++- .../step1b-verifyCustomActivity.ts | 92 +++++++++++++++++++ src/buttons/event-creation/utils.ts | 18 ++++ src/commandUtils.ts | 2 + src/commands/delete.ts | 4 +- src/commands/setup.ts | 6 +- src/events/interactionCreate.ts | 6 +- 9 files changed, 167 insertions(+), 41 deletions(-) create mode 100644 src/buttons/event-creation/step1b-verifyCustomActivity.ts diff --git a/src/buttons/_index.ts b/src/buttons/_index.ts index 6927f5e..94bd22e 100644 --- a/src/buttons/_index.ts +++ b/src/buttons/_index.ts @@ -1,5 +1,6 @@ import { Button } from '../types/commandTypes.ts'; import { createEventButton } from './event-creation/step1-gameSelection.ts'; import { createCustomEventButton } from './event-creation/step1a-openCustomModal.ts'; +import { verifyCustomEventButton } from './event-creation/step1b-verifyCustomActivity.ts'; -export const buttons: Array