Commit initial
This commit is contained in:
parent
d31904aeb7
commit
2e5fe1a7e0
1
.gitignore
vendored
1
.gitignore
vendored
@ -114,3 +114,4 @@ dmypy.json
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
.idea/
|
14
__init__.py
Normal file
14
__init__.py
Normal file
@ -0,0 +1,14 @@
|
||||
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
|
10
infos.toml
Normal file
10
infos.toml
Normal file
@ -0,0 +1,10 @@
|
||||
name = "Logging"
|
||||
description = "Use discord to display bot logs"
|
||||
|
||||
version = "0.1.0"
|
||||
bot_version = "~=0.1.0"
|
||||
|
||||
metamodule = false
|
||||
|
||||
[dependencies]
|
||||
mod_base = "~=0.1.0"
|
Loading…
Reference in New Issue
Block a user