diff options
Diffstat (limited to 'bot/cogs')
-rw-r--r-- | bot/cogs/hacktober/candy_collection.py | 4 | ||||
-rw-r--r-- | bot/cogs/resources/candy_collection.json | 8 |
2 files changed, 2 insertions, 10 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% diff --git a/bot/cogs/resources/candy_collection.json b/bot/cogs/resources/candy_collection.json deleted file mode 100644 index 6313dd10..00000000 --- a/bot/cogs/resources/candy_collection.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "msg_reacted": [ - - ], - "records": [ - - ] -} |