1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Clean up serfs code

This commit is contained in:
Steffo 2020-05-07 00:31:40 +02:00
parent 50f2f5b731
commit b8e52bd2b9
4 changed files with 6 additions and 31 deletions

View file

@ -8,22 +8,8 @@ from royalnet.utils import asyncify
from royalnet.serf import Serf
from .escape import escape
from .voiceplayer import VoicePlayer
try:
import discord
except ImportError:
discord = None
try:
from sqlalchemy.orm.session import Session
except ImportError:
Session = None
try:
from royalnet.herald import Config as HeraldConfig
except ImportError:
HeraldConfig = None
log = logging.getLogger(__name__)

View file

@ -7,13 +7,7 @@ import royalnet.commands as rc
import royalnet.utils as ru
from ..serf import Serf
from .escape import escape
try:
import nio
except ImportError:
nio = None
log = logging.getLogger(__name__)

View file

@ -9,14 +9,9 @@ import royalnet.backpack as rb
from .escape import escape
from ..serf import Serf
try:
import telegram
import urllib3
from telegram.utils.request import Request as TRequest
except ImportError:
telegram = None
urllib3 = None
TRequest = None
try:
from sqlalchemy.orm.session import Session

View file

@ -1 +1 @@
semantic = "5.8.0"
semantic = "5.8.1"