mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
More slash command enums (nearly done)
This commit is contained in:
@ -372,6 +372,7 @@ async function whileCallback(args, value) {
|
||||
* @returns
|
||||
*/
|
||||
async function timesCallback(args, value) {
|
||||
if (args.guard instanceof SlashCommandClosure) throw new Error('argument \'guard\' cannot be a closure for command /while');
|
||||
let repeats;
|
||||
let command;
|
||||
if (Array.isArray(value)) {
|
||||
|
Reference in New Issue
Block a user