aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..caf02e6
--- /dev/null
+++ b/main.py
@@ -0,0 +1,11 @@
+from discord.ext.commands import Bot, when_mentioned_or
+
+from config import token
+from util import load_all_modules
+
+bot = Bot(command_prefix=when_mentioned_or('!'))
+
+load_all_modules(bot)
+
+if __name__ == '__main__':
+ bot.run(token)