botman / driver-telegram

BotMan Telegram Driver
MIT License
88 stars 75 forks source link

Use settings from telegram array #1

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       #1   +/-   ##
=========================================
  Coverage          ?   82.88%           
  Complexity        ?       58           
=========================================
  Files             ?        6           
  Lines             ?      187           
  Branches          ?        0           
=========================================
  Hits              ?      155           
  Misses            ?       32           
  Partials          ?        0
Impacted Files Coverage Δ Complexity Δ
src/TelegramFileDriver.php 88.88% <100%> (ø) 6 <0> (?)
src/TelegramVideoDriver.php 88.88% <100%> (ø) 6 <0> (?)
src/TelegramPhotoDriver.php 89.47% <100%> (ø) 6 <0> (?)
src/TelegramAudioDriver.php 90% <100%> (ø) 8 <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...4989a6d. Read the comment docs.

christophrumpel commented 7 years ago

I did not create this PR from my own fork, so will close this and do that again.