ваше сообщение коммита

This commit is contained in:
2025-06-26 20:34:58 +03:00
parent 5f66a577f4
commit b2dcaaab42
38 changed files with 3956 additions and 13627 deletions

View File

@@ -424,9 +424,16 @@ function clearSettingsCache() {
telegramSettingsCache = null;
}
async function getAllBots() {
const { rows } = await db.getQuery()('SELECT id, bot_username FROM telegram_settings ORDER BY id');
return rows;
}
module.exports = {
getTelegramSettings,
getBot,
stopBot,
initTelegramAuth,
clearSettingsCache,
getAllBots,
};