diff options
author | 2020-10-21 19:04:07 +0530 | |
---|---|---|
committer | 2020-10-21 19:04:07 +0530 | |
commit | 449cf018d32d1c0c4de0e036e6b12b66b4010dc1 (patch) | |
tree | a48562b289837571cd30d57e0e6e744b04185982 | |
parent | Fix candy distribution logic (diff) |
Remove an unrequired new-line and a comment
-rw-r--r-- | bot/exts/halloween/candy_collection.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/exts/halloween/candy_collection.py b/bot/exts/halloween/candy_collection.py index e1602137..4909b8df 100644 --- a/bot/exts/halloween/candy_collection.py +++ b/bot/exts/halloween/candy_collection.py @@ -37,13 +37,11 @@ class CandyCollection(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = bot - self.json_file = make_persistent(Path("bot", "resources", "halloween", "candy_collection.json")) with self.json_file.open() as fp: candy_data = json.load(fp) - # The rank data self.candy_records = candy_data.get("records", dict()) # Message ID where bot added the candies/skulls |