atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API

Home Page:https://core.telegram.org/bots/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/home/pi/.gem/gems/telegram-bot-ruby-0.11.0/lib/telegram/bot/client.rb:40: warning: constant ::TimeoutError is deprecated

phykos opened this issue · comments

I developed a bot for dumping what the bot sees and send it as a JSON file into a chat, and then delete it.
when I runned ruby -C bot.rb it says:

Traceback (most recent call last):
/snap/ruby/168/bin/ruby: Can't chdir to bot.rb (fatal)

that may be because Ruby 2.7.0 installed from Snap may have a little bit of bugs, but on my phone (Ruby 2.6.5, Termux) it's fine.

that being said, it seems like a Faraday has upgraded its modules and stuff and the library won't actually work

@phykos what is the version of Faraday in your project?

Message in the title only warns about deprecated const usage. Btw it's been fixed in v0.12.

Message in the title only warns about deprecated const usage. Btw it's been fixed in v0.12.

Thx!