aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/hacktober/candy_collection.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-20 13:30:38 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-20 13:30:38 +0100
commit7ac3946023f48dfebeb0335f66421773cde2d900 (patch)
tree01f32936cfb480ebaf37ded2fa197913d7136c5f /bot/cogs/hacktober/candy_collection.py
parentSolved merge conflicts (diff)
Cleaning up bats a bit
Diffstat (limited to 'bot/cogs/hacktober/candy_collection.py')
-rw-r--r--bot/cogs/hacktober/candy_collection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/hacktober/candy_collection.py b/bot/cogs/hacktober/candy_collection.py
index 59eadd93..508793a2 100644
--- a/bot/cogs/hacktober/candy_collection.py
+++ b/bot/cogs/hacktober/candy_collection.py
@@ -5,9 +5,9 @@ import json
import functools
import os
-json_location = os.path.join(os.getcwd(), 'resources', 'candy_collection.json')
+from bot.constants import HACKTOBER_CHANNEL_ID
-HACKTOBER_CHANNEL_ID = 498804484324196362
+json_location = os.path.join("bot", "resources", "halloween", "candy_collection.json")
# chance is 1 in x range, so 1 in 20 range would give 5% chance (for add candy)
ADD_CANDY_REACTION_CHANCE = 20 # 5%