forked from IPD/Foxtrot
oops i broke thingies
This commit is contained in:
parent
739cc1afb1
commit
1fac729e83
1 changed files with 2 additions and 2 deletions
4
bot.py
4
bot.py
|
@ -182,8 +182,8 @@ async def meme(ctx):
|
|||
try:
|
||||
ping.verbose_ping('shitfest.net', count=5)
|
||||
delay = ping.Ping('shitfest.net', timeout=2000).do()
|
||||
except socket.error, e:
|
||||
await ctx.send("An error has occured with this command. ", e)
|
||||
except:
|
||||
await ctx.send("An error has occured with this command.")
|
||||
async with aiohttp.ClientSession() as session:
|
||||
async with session.get('https://api.shitfest.net/v2/random.php') as resp:
|
||||
json = await resp.json()
|
||||
|
|
Loading…
Reference in a new issue