diff --git a/app/animals.py b/app/animals.py index 4824b763..f15386f6 100644 --- a/app/animals.py +++ b/app/animals.py @@ -59,3 +59,6 @@ def random_bird_reddit(): 'birbs', ] ) + +def get_rat(): + return get_from_reddit.get_image('rats') diff --git a/app/bot.py b/app/bot.py index 409db977..653ff4b6 100755 --- a/app/bot.py +++ b/app/bot.py @@ -288,6 +288,11 @@ async def decide(ctx): import decide await ctx.send(decide.decide(ctx.message.content)) +@bot.command(name='rat') +async def rat(ctx): + import animals + await ctx.send(animals.get_rat()) + @bot.command(name='stock') async def stock(ctx):