mod-logging/__init__.py

15 lines
393 B
Python
Raw Normal View History

2020-04-21 23:26:00 +02:00
from config.config_types import factory
import config.config_types as c_t
import config
from mod_base import BasePython
class Logging(BasePython):
def __init__(self, client):
super().__init__(client)
self.config.register("log_channel", factory(c_t.discord_types.Channel, client))
def __dispatch__(self, event, *args, **kwargs):
pass
__main_class__ = Logging