From 7ac3946023f48dfebeb0335f66421773cde2d900 Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Tue, 20 Nov 2018 13:30:38 +0100 Subject: Cleaning up bats a bit --- bot/cogs/hacktober/candy_collection.py | 4 ++-- bot/cogs/resources/candy_collection.json | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 bot/cogs/resources/candy_collection.json (limited to 'bot/cogs') 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": [ - - ] -} -- cgit v1.2.3