example.rb in tgbot-0.1.4 vs example.rb in tgbot-0.1.5
- old
+ new
@@ -4,10 +4,10 @@
save_pid
require 'tgbot'
Garage = load_data.shuffle
Cache = {}
TOKEN =
-Tgbot.run TOKEN, proxy: 'https://127.0.0.1:1080' do |bot|
+Tgbot.run TOKEN, proxy: 'http://127.0.0.1:1080' do |bot|
bot.start do
log "\e[33m#{bot.name}\e[32m, at your service.", 2
end
bot.finish do
\ No newline at end of file