forked from Raiza.dev/EliteBot
Reformatted bot.py and added PyYAML requirement.
This commit is contained in:
parent
76511c817c
commit
ca832ff563
2 changed files with 10 additions and 6 deletions
|
@ -1 +1,2 @@
|
|||
colorama==0.4.6
|
||||
PyYAML==6.0.1
|
||||
|
|
15
src/bot.py
15
src/bot.py
|
@ -1,19 +1,22 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import importlib.util
|
||||
import inspect
|
||||
import json
|
||||
import os
|
||||
import socket
|
||||
import ssl
|
||||
import time
|
||||
import json
|
||||
import yaml
|
||||
import inspect
|
||||
import sys
|
||||
import os
|
||||
import importlib.util
|
||||
import time
|
||||
|
||||
import yaml
|
||||
|
||||
from src.channel_manager import ChannelManager
|
||||
from src.logger import Logger
|
||||
from src.plugin_base import PluginBase
|
||||
from src.sasl import handle_sasl, handle_authenticate, handle_903
|
||||
|
||||
|
||||
class Bot:
|
||||
def __init__(self, config_file):
|
||||
self.config = self.load_config(config_file)
|
||||
|
|
Loading…
Add table
Reference in a new issue