fixing typo in racoon

This commit is contained in:
Luke Robles 2021-03-31 22:45:39 -07:00
parent ae60ace55f
commit 2a4da83b89
3 changed files with 9 additions and 8 deletions

View File

@ -17,11 +17,12 @@ def get_panda():
while not panda: while not panda:
panda = requests.get('https://some-random-api.ml/img/panda').json()['link'] panda = requests.get('https://some-random-api.ml/img/panda').json()['link']
return panda return panda
def get_raccoon():
raccoon = None def get_racoon():
while not raccoon: racoon = None
raccoon = requests.get('https://some-random-api.ml/img/raccoon').json()['link'] while not racoon:
return raccoon racoon = requests.get('https://some-random-api.ml/img/racoon').json()['link']
return racoon
def get_fox(): def get_fox():
fox = None fox = None

View File

@ -220,11 +220,11 @@ async def koala(ctx):
import animals import animals
await ctx.send(animals.get_koala()) await ctx.send(animals.get_koala())
@bot.command(name='raccoon')
async def raccoon(ctx):
@bot.command(name='racoon')
async def racoon(ctx):
import animals import animals
await ctx.send(animals.get_raccoon()) await ctx.send(animals.get_racoon())
@bot.command(name='fox') @bot.command(name='fox')
async def fox(ctx): async def fox(ctx):

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB