rename exported quick reply api var

This commit is contained in:
LenAnderson
2023-12-21 20:15:32 +00:00
parent a0918a3f5c
commit 9f13ab1fe9

View File

@ -44,7 +44,7 @@ let manager;
/** @type {ButtonUi} */ /** @type {ButtonUi} */
let buttons; let buttons;
/** @type {QuickReplyApi} */ /** @type {QuickReplyApi} */
export let api; export let quickReplyApi;
@ -153,8 +153,8 @@ const init = async () => {
} }
} }
api = new QuickReplyApi(settings); quickReplyApi = new QuickReplyApi(settings);
const slash = new SlashCommandHandler(api); const slash = new SlashCommandHandler(quickReplyApi);
slash.init(); slash.init();
}; };
eventSource.on(event_types.APP_READY, init); eventSource.on(event_types.APP_READY, init);