From 3571e0645327e687b8f2eeaf24f06bb9aba27841 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Thu, 4 Mar 2021 22:47:36 -0800 Subject: [PATCH] removing dale function --- app/animals.py | 8 -------- app/bot.py | 6 ------ app/help_methods.py | 4 ---- 3 files changed, 18 deletions(-) diff --git a/app/animals.py b/app/animals.py index 36a5e88c..a731db8a 100644 --- a/app/animals.py +++ b/app/animals.py @@ -63,11 +63,3 @@ def random_bird_reddit(): def get_rat(): return get_from_reddit.get_image('rats') - - -def dale(): - return "https://luker.gq/dale/" + urllib.parse.quote( - random.choice(requests.get( - 'https://luker.gq/dale').json() - )['name'] - ) \ No newline at end of file diff --git a/app/bot.py b/app/bot.py index d040699f..653ff4b6 100755 --- a/app/bot.py +++ b/app/bot.py @@ -214,12 +214,6 @@ async def dog(ctx): import animals await ctx.send(animals.get_dog()) -@bot.command(name='dale') -async def dale(ctx): - - import animals - await ctx.send(animals.dale()) - @bot.command(name='define') async def define(ctx): diff --git a/app/help_methods.py b/app/help_methods.py index 04363046..a52778cf 100644 --- a/app/help_methods.py +++ b/app/help_methods.py @@ -41,10 +41,6 @@ def get_help_message(method): 'Pulls the latest corona virus stats per state from Johns Hopkins data', 'Usage: !corona \neg: !corona Colorado' ], - 'dale': [ - 'Returns a random photo of dale', - '\nUsage: !dale' - ], 'decide': [ 'Dragon-bot will help make the tough decisions for you', ' If there is only one option, it will give you a yes or no',