aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/halloweenify.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/cogs/halloweenify.py')
-rw-r--r--bot/cogs/halloweenify.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bot/cogs/halloweenify.py b/bot/cogs/halloweenify.py
index 8a9db3df..a5fe45ef 100644
--- a/bot/cogs/halloweenify.py
+++ b/bot/cogs/halloweenify.py
@@ -1,15 +1,13 @@
-from pathlib import Path
from json import load
+from pathlib import Path
from random import choice
-
import discord
from discord.ext import commands
from discord.ext.commands.cooldowns import BucketType
class Halloweenify:
-
"""
A cog to change a invokers nickname to a spooky one!
"""
@@ -20,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.