diff --git a/bot.py b/bot.py index fecbba5..dd73160 100644 --- a/bot.py +++ b/bot.py @@ -3,7 +3,7 @@ import discord from discord import File, Streaming, Game, Activity, ActivityType, Status from discord.ext import commands, tasks -import io, aiohttp, asyncio, json, random, logging, requests, ping, socket +import io, aiohttp, asyncio, json, random, logging, requests foxmsgs = [ @@ -179,11 +179,6 @@ Foxtrot is open source! Find the code at """) @bot.command(brief="random meme") async def meme(ctx): - try: - ping.verbose_ping('shitfest.net', count=5) - delay = ping.Ping('shitfest.net', timeout=2000).do() - 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()