Skip to content

Commit 30670dd

Browse files
fix bot
1 parent ab65c9d commit 30670dd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

js/bot.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ var Bot = class {
1616
//get bot name
1717
this.bot.telegram.getMe().then((botInfo) => {
1818
this.bot.options.username = botInfo.username;
19+
this.logger.info('Using bot with name ' + this.bot.options.username + '.');
1920
})
2021

2122
//Welcome message on bot start

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function createWindow() {
5050
// Open the DevTools.
5151
// win.webContents.openDevTools()
5252

53-
//bot.startBot()
53+
bot.startBot()
5454

5555
// Emitted when the window is closed.
5656
win.on('closed', () => {

0 commit comments

Comments
 (0)