Closed jumatberkah closed 5 years ago
please enable logging like this. and show me what it got https://github.com/ba0f3/telebot.nim/blob/master/examples/echo_bot.nim#L4
first of all revoke your BOT API KEY asap. then try to strip the SECRET_KEY https://github.com/ba0f3/telebot.nim/issues/30#issuecomment-491345779,os use Nim devel version.. I didnt see log relate to this module yet
first of all revoke your BOT API KEY asap. then try to strip the SECRET_KEY #30 (comment) use Nim devel version.. I didnt see log relate to this module yet
Hi there, i've tried all your steps and i've changed to not use secret.key but direct variable, then i already tried revoke and use my other bot token but it didn't work, the second one throw an IOERROR, then i created a new bot with fresh token and it works. Actually i'm still curious how this can happened, i thought that this is nim problem maybe. In short, it worked after i created a new bot
some other user face'd same problem, maybe you bot's rate is limited, or your bot is banned..
@jumatberkah can you share me the apikey of the bot had problem? I want to see what was wrong.
telegram me: https://t.me/ba0f3
Every Time I Tried Your Examples and Write My Own Bot, They always return an unhandled exception. Error: unhandled exception: Can't obtain a value from a
none
[UnpackError](kind: JSMN_STRING, start: 52513, stop: 52516, size: 0, parent: 5466) url (kind: JSMN_STRING, start: 52529, stop: 52545, size: 0, parent: 5468) Maksudnya Gimana /home/nayef/.choosenim/toolchains/nim-0.20.0/lib/pure/options.nim(181) get /home/nayef/.choosenim/toolchains/nim-0.20.0/lib/pure/asyncfutures.nim(353) read /home/nayef/.choosenim/toolchains/nim-0.20.0/lib/pure/asyncfutures.nim(400) :anonymous Error: unhandled exception: Can't obtain a value from a
none[UnpackError]
My code: https://del.dog/codeconduct.cs