aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-10-12 00:36:53 +0200
committerGravatar Leon Sandøy <[email protected]>2018-10-12 00:36:53 +0200
commit3230a505b1e5aa84e79a0afc09e10da6d433120d (patch)
tree467f32c8c83c1a5cab1339c3affc2fb2c0b73b2c
parentRemove extra lines in build script (diff)
Fixing halloweenify json path
-rw-r--r--bot/cogs/halloweenify.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/cogs/halloweenify.py b/bot/cogs/halloweenify.py
index ddd96bc6..a5fe45ef 100644
--- a/bot/cogs/halloweenify.py
+++ b/bot/cogs/halloweenify.py
@@ -18,7 +18,10 @@ class Halloweenify:
@commands.cooldown(1, 300, BucketType.user)
@commands.command()
async def halloweenify(self, ctx):
- with open(Path('../bot/resources', 'halloweenify.json'), 'r') as f:
+ """
+ Change your nickname into a much spookier one!
+ """
+ with open(Path('./bot/resources', 'halloweenify.json'), 'r') as f:
data = load(f)
# Choose a random character from our list we loaded above and set apart the nickname and image url.