SwagLyrics / SwagLyrics-discord-bot

A implementation of swaglyrics into a discord bot
MIT License
27 stars 7 forks source link

Use python dotenv instead of env file #69

Closed aadibajpai closed 3 years ago

aadibajpai commented 4 years ago

Allows for both .env file and also just setting up the environment variable. Simplifies the code a bit too.

Updated the message in the init with the new delimiter.

Blackening.

codecov[bot] commented 4 years ago

Codecov Report

Merging #69 into master will increase coverage by 0.09%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   28.61%   28.70%   +0.09%     
==========================================
  Files           9        9              
  Lines         311      310       -1     
==========================================
  Hits           89       89              
+ Misses        222      221       -1     
Impacted Files Coverage Δ
SwagLyricsBot/__init__.py 78.26% <ø> (ø)
SwagLyricsBot/general_commands.py 41.93% <ø> (ø)
SwagLyricsBot/swaglyrics_bot.py 0.00% <0.00%> (ø)

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 5e7e69b...54a2d20. Read the comment docs.

flabbet commented 3 years ago

Good, it works