summaryrefslogtreecommitdiff
path: root/teawie_bot/__init__.py
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-04 23:12:58 -0500
committerseth <[email protected]>2023-03-14 20:40:13 -0400
commit52e58d2da91d2980823612d6c55e41ed6af0382e (patch)
tree41cedd7715dca1e15e51fbba0351f2d69dd54dd4 /teawie_bot/__init__.py
parentd7c0dd5ac7ce11ca24f4d05c35820182957fa075 (diff)
feat: bit of a refactor
- moved teawie_bot to root directory - added nix flake
Diffstat (limited to 'teawie_bot/__init__.py')
-rw-r--r--teawie_bot/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/teawie_bot/__init__.py b/teawie_bot/__init__.py
new file mode 100644
index 0000000..e3b5d8f
--- /dev/null
+++ b/teawie_bot/__init__.py
@@ -0,0 +1,9 @@
+import os
+
+from .bot import bot
+
+TOKEN = os.getenv("TOKEN")
+
+
+def main():
+ bot.run(TOKEN)