mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
rename exported quick reply api var
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user