aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Rohan <[email protected]>2019-03-31 14:41:53 +0530
committerGravatar Rohan <[email protected]>2019-03-31 14:41:53 +0530
commitea8c666c23946f2530ae8896a45ce9a91f601c5e (patch)
tree574d27aae4efe3583214c12e549f6307edcef77f
parentadded yellow color to contants.py (diff)
fixed lint error:
-rw-r--r--bot/seasons/easter/april_fools_vids.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/seasons/easter/april_fools_vids.py b/bot/seasons/easter/april_fools_vids.py
index 1640e214..6ff572b2 100644
--- a/bot/seasons/easter/april_fools_vids.py
+++ b/bot/seasons/easter/april_fools_vids.py
@@ -20,6 +20,7 @@ class AprilFoolVideos(commands.Cog):
@staticmethod
def load_json():
+ """A function to load json data."""
p = Path('bot/resources/april_fools_vids.json')
with p.open() as json_file:
all_vids = load(json_file)