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