Commit initial

This commit is contained in:
Louis Chauvet 2020-04-21 23:26:00 +02:00
parent d31904aeb7
commit 2e5fe1a7e0
Signed by: fomys
GPG Key ID: 1ECA046A9615ABA0
3 changed files with 25 additions and 0 deletions

1
.gitignore vendored
View File

@ -114,3 +114,4 @@ dmypy.json
# Pyre type checker # Pyre type checker
.pyre/ .pyre/
.idea/

14
__init__.py Normal file
View 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
View 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"