1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-07 11:25:52 +03:00
Max Melentiev
2018-06-22 07:44:26 +03:00
родитель e2e32e041a
Коммит 8936a7a96c
13 изменённых файлов: 5 добавлений и 246 удалений

Просмотреть файл

@@ -40,11 +40,6 @@ module Telegram
end
end
# Hash of botan clients made from #bots.
def botans
@botans ||= bots.map { |k, v| [k, v.botan] }.to_h
end
# Returns config for .bots method. By default uses `telegram['bots']` section
# from `secrets.yml` merging `telegram['bot']` at `:default` key.
#
@@ -69,7 +64,6 @@ module Telegram
@bots = nil
@bot = nil
@bots_config = nil
@botans = nil
end
end
end