Merge pull request 'adding fops alias for fox command (hopefully)' (#1) from Amy/ich_iel-Bot:amy-patch-1 into master
Build and publish ich_iel bot / build (push) Successful in 5m58s
Build and publish ich_iel bot / build (push) Successful in 5m58s
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -150,6 +150,7 @@ async def dog(message):
|
|||||||
await message.channel.send("Failed to fetch dog image")
|
await message.channel.send("Failed to fetch dog image")
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
|
@bot.command("fops")
|
||||||
async def fox(message):
|
async def fox(message):
|
||||||
response = requests.get("https://randomfox.ca/floof/")
|
response = requests.get("https://randomfox.ca/floof/")
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user