Reformatted bot.py and added PyYAML requirement.

This commit is contained in:
Yuuki Chan 2024-02-18 23:01:27 +09:00
parent 76511c817c
commit ca832ff563
2 changed files with 10 additions and 6 deletions

View file

@ -1 +1,2 @@
colorama==0.4.6
PyYAML==6.0.1

View file

@ -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)