Remove psutil dependency

pull/1/head
BodgeMaster 2023-01-13 17:47:23 +01:00
parent 466c82ec25
commit afa068cf52
2 changed files with 2 additions and 3 deletions

4
bot.py
View File

@ -7,13 +7,13 @@ from discord import app_commands
import typing import typing
from discord.ext import commands from discord.ext import commands
import discord.utils import discord.utils
import psutil
import time import time
from sys import platform from sys import platform
BOOT_TIME = time.time()
def seconds_elapsed(): def seconds_elapsed():
return time.time() - psutil.boot_time() return time.time() - BOOT_TIME
class MyClient(discord.Client): class MyClient(discord.Client):

View File

@ -1,2 +1 @@
discord.py==2.1.0 discord.py==2.1.0
psutil==5.9.4