diff --git a/db/populateDefaults.ts b/db/populateDefaults.ts index e746b70..03fe1ce 100644 --- a/db/populateDefaults.ts +++ b/db/populateDefaults.ts @@ -29,6 +29,8 @@ const actions = [ 'btn-eeChangeAct', 'btn-eeChangeTime', 'btn-eeChangeDesc', + 'btn-eeMakePublic', + 'btn-eeMakeWL', ]; 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 c35d17e..90aff03 100644 --- a/src/buttons/_index.ts +++ b/src/buttons/_index.ts @@ -17,6 +17,7 @@ import { editDateTimeButton } from './live-event/editDateTime.ts'; import { applyDescriptionButton } from './live-event/applyDescription.ts'; import { applyDateTimeButton } from './live-event/applyDateTime.ts'; import { updateEventButton } from './live-event/updateEvent.ts'; +import { toggleWLStatusButton } from './live-event/toggleWLStatus.ts'; export const buttons: Array