119 Commits

Author SHA1 Message Date
Cohee
c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
Cohee
9faa1e34b0 Merge branch 'staging' into singlequote 2023-12-02 20:43:41 +02:00
Cohee
a28c23d295 Wait for generation unlock before running continue or trigger 2023-12-02 20:12:36 +02:00
valadaptive
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive
c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
valadaptive
9204a31d32 Enable no-self-assign lint 2023-12-02 10:32:07 -05:00
Cohee
b0d21659eb /inject command to add prompt injections 2023-11-28 01:44:13 +02:00
Cohee
188897a3df Add "at" argument to commands sending a message 2023-11-27 19:48:49 +02:00
Cohee
edafb8dd13 Repurpose trigger command not just for groups 2023-11-27 11:16:40 +02:00
Cohee
fd0edd67a6 Fix recursive QR auto-execution 2023-11-27 02:18:36 +02:00
Cohee
9c01a849cb Add buttons command 2023-11-26 17:05:55 +02:00
Cohee
3bc91f10ec Fix command aliases 2023-11-26 15:47:11 +02:00
Cohee
e6c96553d0 Add text trimming commands 2023-11-26 13:55:22 +02:00
Cohee
c259c0a72a Skip hidden messages from /message command 2023-11-26 01:15:19 +02:00
Cohee
c6aea00e27 Resolve ephemeral stop strings variables 2023-11-26 00:56:55 +02:00
Cohee
b8d7b0922d Fix evaluation order of named args 2023-11-25 18:18:57 +02:00
Cohee
06ade803fa Concatenate strings in /addvar 2023-11-25 17:45:40 +02:00
Cohee
851a00630a Add /popup command 2023-11-24 19:50:49 +02:00
Cohee
a178bdc3b0 Fix ephemeral stopping strings flush 2023-11-24 19:06:31 +02:00
Cohee
2c8e855385 Resolve variables in /fuzzy 2023-11-24 17:41:49 +02:00
Cohee
adb3badcc1 Add /messages and /setinput commands 2023-11-24 17:12:59 +02:00
Cohee
c9b3ccc585 Add STscript procedure calls with /run command 2023-11-24 15:58:00 +02:00
Cohee
dd17c2483f Add lock=on/off to /gen and /genraw commands 2023-11-24 15:18:49 +02:00
Cohee
ad8709842b STscript improvements (see below)
Add /while loop
Add escaping of macros in sub-commands
Add /input prompt
2023-11-24 12:49:14 +02:00
Cohee
d3ea5c081d Add /pass and /fuzzy commands 2023-11-24 02:21:50 +02:00
Cohee
74fbc88d7d Move macros replacement to script execution time 2023-11-24 01:56:43 +02:00
Cohee
c4e1fff1bc Respect # limit for ephemeral stop strings 2023-11-24 00:54:23 +02:00
Cohee
863554fea6 Add ephemeral stop strings to /genraw 2023-11-24 00:51:27 +02:00
Cohee
c2e3bfa06d /genraw instruct=off 2023-11-24 00:36:35 +02:00
Cohee
c50ed4bf6a STscript improvements (see below)
/abort command, {{pipe}} macro in named args, subcommand batch escaping with backslash, string literals and rules for /if, else clause for /if
2023-11-24 00:18:07 +02:00
Cohee
3594c4aac7 Add {{newline}} and {{pipe}} macros 2023-11-23 22:56:52 +02:00
Cohee
86819b6f4f Add /genraw command 2023-11-23 22:50:13 +02:00
Cohee
6d0982e823 Unleash the variables / STscript alpha 2023-11-23 22:36:48 +02:00
Cohee
55af72cb17 /addswipe command 2023-11-22 01:26:17 +02:00
Cohee
e5f7b0b5c7 Use explicit unnamed argument first if exists 2023-11-22 00:43:33 +02:00
Cohee
4b78ddbc8a First steps in slash command piping 2023-11-22 00:39:17 +02:00
Cohee
1b4d955aec Add swipe id validation for /delswipe 2023-11-21 23:33:20 +02:00
Cohee
284bd76589 Add /delswipe command 2023-11-21 23:28:11 +02:00
Cohee
2dc8f8f2f7 Add 5 group control commands 2023-11-21 22:35:59 +02:00
Cohee
01b629bd49 New syntax for sendas command 2023-11-21 02:54:04 +02:00
Cohee
4222b2aa21 Add enable/disable group member commands 2023-11-20 23:49:04 +02:00
Cohee
7045d242e8 Add ability to attach files and images to messages 2023-11-18 19:24:55 +02:00
Cohee
ea583e0ff5 Add fuzzy search to /bg command 2023-11-14 21:43:08 +02:00
Cohee
abb8b0f0cc Update hide / unhide commands to accept range 2023-11-14 21:37:37 +02:00
Cohee
a02504381a Forbid trigger command while the group is generating 2023-11-11 16:12:02 +02:00
Cohee
f2a96427a8 TTS: add slash command to speak 2023-11-09 02:57:40 +02:00
Cohee
8183849fe4 Add more aliases for /help pages 2023-11-04 21:35:50 +02:00
Cohee
e1e472bf79 Add {{lastMessageId}} macro, make async slash command handlers wait for completion 2023-11-04 13:33:09 +02:00
Cohee
b3669afea3 Put /help command on top 2023-11-04 12:37:13 +02:00
Cohee
6067b2f913 Add autocomplete for slash commands 2023-11-04 01:21:20 +02:00