Bump version to 2.3.6

This commit is contained in:
synt-xerror
2026-03-17 10:16:21 -03:00
parent 12a9cf122f
commit f0f87dde78
3 changed files with 15 additions and 3 deletions

View File

@@ -16,7 +16,11 @@ export async function handleMessage(msg) {
const chat = await msg.getChat();
const chatId = getChatId(chat);
if (!CHATS.includes(chatId)) return;
// se CHATS estiver vazio, ele pega todos os chats.
// se nao, ele pega os que estão na lista.
if (CHATS.length > 0) {
if (!CHATS.includes(chatId)) return;
}
const ctx = await buildMessageContext(msg, chat, BOT_PREFIX);
logger.msg(ctx);