remove sleep command
@@ -5,7 +5,6 @@ import json
from os import system
import arrow
import asyncio
-from time import sleep
class Owner(commands.Cog):
@@ -336,11 +335,6 @@ Latency: {round(self.bot.latency*1000, 2)} ms
async with self.bot.db.acquire() as con:
await ctx.send(await con.execute(f"DELETE FROM prefixes WHERE prefixes.gid='{gid}'"))
- @commands.command(name="sleep")
- @commands.is_owner()
- async def sleep_forever(self, ctx, amount: int):
- sleep(amount)
-
def setup(bot):
bot.add_cog(Owner(bot))
