diff options
author | 2019-03-05 17:12:52 +0100 | |
---|---|---|
committer | 2019-03-05 17:12:52 +0100 | |
commit | 3a05c93aa3f1244a9a8513bab22de04e8521f15e (patch) | |
tree | c6b8c62d2936e22af013f00fa331d350625aa115 | |
parent | Add .myvalenstate (diff) |
Update myvalenstate.py to address requested changes
A few things have been changed:
- The comment under STATES = json.load(file) was useless and has been
removed
- A logging statement has been put under the setup function:
log.debug("MyValenstate cog loaded")
-rw-r--r-- | bot/seasons/valentines/myvalenstate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/valentines/myvalenstate.py b/bot/seasons/valentines/myvalenstate.py index f646cbe4..1fd6916a 100644 --- a/bot/seasons/valentines/myvalenstate.py +++ b/bot/seasons/valentines/myvalenstate.py @@ -13,7 +13,6 @@ log = logging.getLogger(__name__) with open(Path('bot', 'resources', 'valentines', 'valenstates.json'), 'r') as file: STATES = json.load(file) - # STATES.sort() class MyValenstate: @@ -78,3 +77,4 @@ class MyValenstate: def setup(bot): bot.add_cog(MyValenstate(bot)) + log.debug("MyValenstate cog loaded") |