Remove psutil dependency
parent
466c82ec25
commit
afa068cf52
4
bot.py
4
bot.py
|
@ -7,13 +7,13 @@ from discord import app_commands
|
|||
import typing
|
||||
from discord.ext import commands
|
||||
import discord.utils
|
||||
import psutil
|
||||
import time
|
||||
from sys import platform
|
||||
|
||||
BOOT_TIME = time.time()
|
||||
|
||||
def seconds_elapsed():
|
||||
return time.time() - psutil.boot_time()
|
||||
return time.time() - BOOT_TIME
|
||||
|
||||
|
||||
class MyClient(discord.Client):
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
discord.py==2.1.0
|
||||
psutil==5.9.4
|
||||
|
|
Loading…
Reference in New Issue