botman / driver-telegram

BotMan Telegram Driver
MIT License
87 stars 75 forks source link

Use Telegram config data from separate config array #2

Closed christophrumpel closed 7 years ago

christophrumpel commented 7 years ago

Instead of a big botman config array there is no an array for every driver. In this PR I changed that the Telegram token now is loaded from the telegram config array.

codecov[bot] commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2987a1c). Click here to learn what that means. The diff coverage is 80%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   82.88%           
  Complexity        ?       58           
=========================================
  Files             ?        6           
  Lines             ?      187           
  Branches          ?        0           
=========================================
  Hits              ?      155           
  Misses            ?       32           
  Partials          ?        0
Impacted Files Coverage Δ Complexity Δ
src/TelegramAudioDriver.php 90% <100%> (ø) 8 <0> (?)
src/TelegramFileDriver.php 88.88% <100%> (ø) 6 <0> (?)
src/TelegramPhotoDriver.php 89.47% <100%> (ø) 6 <0> (?)
src/TelegramVideoDriver.php 88.88% <100%> (ø) 6 <0> (?)
src/TelegramDriver.php 78.43% <57.14%> (ø) 28 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2987a1c...0ac0bdd. Read the comment docs.

mpociot commented 7 years ago

Thank you.