diff --git a/db/populateDefaults.ts b/db/populateDefaults.ts index 4bf0b2c..732003f 100644 --- a/db/populateDefaults.ts +++ b/db/populateDefaults.ts @@ -19,6 +19,8 @@ const actions = [ 'btn-joinReqApprove', 'btn-joinReqDeny', 'btn-joinReqAlt', + 'btn-delEvent', + 'btn-confirmDelEvent', ]; for (const action of actions) { await dbClient.execute('INSERT INTO command_cnt(command) values(?)', [action]).catch((e) => { diff --git a/src/buttons/_index.ts b/src/buttons/_index.ts index f759784..a38fa94 100644 --- a/src/buttons/_index.ts +++ b/src/buttons/_index.ts @@ -9,6 +9,8 @@ import { leaveEventButton } from './live-event/leaveEvent.ts'; import { alternateEventButton } from './live-event/alternateEvent.ts'; import { joinRequestButton } from './live-event/joinRequest.ts'; import { alternateRequestButton } from './live-event/alternateRequest.ts'; +import { deleteEventButton } from './live-event/deleteEvent.ts'; +import { deleteConfirmedButton } from './live-event/deleteConfirmed.ts'; export const buttons: Array