Commit d081ace868092c0c984fd69c08d60c3b74868822

Authored by Adhidarma Hadiwinoto
1 parent 80fa2e5fed
Exists in master

perbaikan polling

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

... ... @@ -16,7 +16,10 @@ if (!Number(config.polling)) {
16 16 key: __dirname+'/key.pem',
17 17 cert: __dirname+'/crt.pem'
18 18 }
  19 +} else {
  20 + options.polling = true;
19 21 }
  22 +
20 23 var bot = new telegram(config.token, options);
21 24  
22 25 if (!Number(config.polling)) {