update regex matching - now bot responds only for base commands (like /ping) and with mention (like /ping@panfilovi4_bot) and ignores command if it mentions other bot;
Add ability to see, change and list gemini, mistral and ollama models
This commit is contained in:
@@ -3,7 +3,6 @@ import {getRandomInt, getRangedRandomInt, logError, oldSendMessage} from "../uti
|
||||
import {Message} from "typescript-telegram-bot-api";
|
||||
|
||||
export class RandomInt extends ChatCommand {
|
||||
regexp = /^\/randomInt/i;
|
||||
title = "/randomInt [min] [max]";
|
||||
description = "Ranged random integer from parameters";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user