From 3a05c93aa3f1244a9a8513bab22de04e8521f15e Mon Sep 17 00:00:00 2001 From: Darth Delay Date: Tue, 5 Mar 2019 17:12:52 +0100 Subject: 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") --- bot/seasons/valentines/myvalenstate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3