update index.ts

This commit is contained in:
2026-01-12 16:27:32 +03:00
parent eb150d25da
commit 78692a89a0
+3 -1
View File
@@ -126,6 +126,8 @@ export const chatCommands: ChatCommand[] = [
];
async function main() {
console.log(`TEST_ENVIRONMENT: ${Environment.TEST_ENVIRONMENT}\nDATA_PATH: ${Environment.DATA_PATH}`);
try {
const messages = await messageDao.getAll();
const users = await userDao.getAll();
@@ -142,7 +144,7 @@ async function main() {
await UserStore.put(botUser);
await bot.startPolling();
console.log(`Bot started! TEST_ENVIRONMENT: ${Environment.TEST_ENVIRONMENT}\nDATA_PATH: ${Environment.DATA_PATH}`);
console.log(`Bot started!`);
} catch (error) {
console.error(error);
}