westacks / telebot

Easy way to create Telegram bots in PHP
https://westacks.github.io/telebot/
MIT License
282 stars 44 forks source link

You should specify at least 1 bot to use BotManager #29

Closed ajianaz closed 3 years ago

ajianaz commented 3 years ago

hey sir, i got issue WeStacks\TeleBot\Exception\TeleBotObjectException. You should specify at least 1 bot to use BotManager.

in local run perfect. but in cloud always return like that. thanks.

punyflash commented 3 years ago

Hello. I can't help you without any code. Check your configuration for any issues. You got this exception from BotManager constructor:

https://github.com/westacks/telebot/blob/71599c04fd0bd1c8f7424137be90ab242a000d79/src/BotManager.php#L138-L147

ajianaz commented 3 years ago

Thanks for answer my question. i think this is error from my server setting.

cause in local is running well.

my bad for not checking it first. sorry for take your time.