diff options
| author | 2021-07-17 20:10:11 +0100 | |
|---|---|---|
| committer | 2021-07-17 20:10:11 +0100 | |
| commit | d3d81582cd7005df16fe3f5306e6afbed75bdb74 (patch) | |
| tree | 323a7441f6c4d32833fee922208121497c77a9de /arthur/__main__.py | |
Initial commit
Diffstat (limited to 'arthur/__main__.py')
| -rw-r--r-- | arthur/__main__.py | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/arthur/__main__.py b/arthur/__main__.py new file mode 100644 index 0000000..7f95210 --- /dev/null +++ b/arthur/__main__.py @@ -0,0 +1,16 @@ +"""Entrypoint for King Arthur.""" +from arthur import logger +from arthur.bot import KingArthur +from arthur.config import CONFIG + + +def start() -> None: +    """Entrypoint for King Arthur.""" +    arthur = KingArthur() + +    arthur.run(CONFIG.token) + + +if __name__ == "__main__": +    start()  |