Repurpose trigger command not just for groups

This commit is contained in:
Cohee
2023-11-27 11:16:40 +02:00
parent a10b6da477
commit edafb8dd13
2 changed files with 16 additions and 15 deletions

View File

@ -7692,7 +7692,9 @@ jQuery(async function () {
$("#send_but").on('click', function () {
if (is_send_press == false) {
is_send_press = true;
// This prevents from running /trigger command with a send button
// But send on Enter doesn't set is_send_press (it is done by the Generate itself)
// is_send_press = true;
Generate();
}
});