aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'arthur/__main__.py')
-rw-r--r--arthur/__main__.py16
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()