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:
@@ -18,7 +18,7 @@ export class MessageStore {
|
||||
static async put(m: Message, prefix: string = Environment.BOT_PREFIX) {
|
||||
const msg: StoredMessage = {
|
||||
chatId: m.chat.id,
|
||||
messageId: m.message_id,
|
||||
id: m.message_id,
|
||||
replyToMessageId: m.reply_to_message?.message_id ?? null,
|
||||
fromId: m.from.id,
|
||||
text: extractTextMessage(m, prefix),
|
||||
|
||||
Reference in New Issue
Block a user