rename exported quick reply api var
This commit is contained in:
parent
a0918a3f5c
commit
9f13ab1fe9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue