Updated requirements
This commit is contained in:
parent
a3a0aaa72b
commit
0f7a860dad
@ -1,4 +1,3 @@
|
||||
from json import loads, dumps
|
||||
from gzip import open as gzipopen
|
||||
from datetime import datetime
|
||||
from os import listdir, makedirs, remove, stat, path
|
||||
@ -6,6 +5,11 @@ from shutil import copyfileobj
|
||||
from typing import Any, Literal, Union
|
||||
from discord import utils, Embed, TextChannel, VoiceChannel, PermissionOverwrite, Guild, CategoryChannel, Member, Client, ApplicationContext, Message
|
||||
|
||||
try:
|
||||
from ujson import loads, dumps
|
||||
except ImportError:
|
||||
from json import loads, dumps
|
||||
|
||||
# path = Path(__file__).resolve().parent
|
||||
|
||||
log_size = 512
|
||||
|
1
requirements-optional.txt
Normal file
1
requirements-optional.txt
Normal file
@ -0,0 +1 @@
|
||||
ujson~=5.7.0
|
@ -1 +1,2 @@
|
||||
py-cord>=2.0.0b7
|
||||
py-cord~=2.3.2
|
||||
requests~=2.28.2
|
Loading…
Reference in New Issue
Block a user