aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorromangraef <romangraef@loves.dicksinhisan.us>2018-08-21 16:12:39 +0200
committerromangraef <romangraef@loves.dicksinhisan.us>2018-08-21 16:12:39 +0200
commita4c058b5c0ec4e441c63ae2ef15235a4869d2bac (patch)
tree64a039e55976adace41fb56d4fc77e88333db802 /main.py
downloadnotaselfbotv2finalforsure-a4c058b5c0ec4e441c63ae2ef15235a4869d2bac.tar.gz
notaselfbotv2finalforsure-a4c058b5c0ec4e441c63ae2ef15235a4869d2bac.tar.bz2
notaselfbotv2finalforsure-a4c058b5c0ec4e441c63ae2ef15235a4869d2bac.zip
Initial commit
Diffstat (limited to 'main.py')
-rw-r--r--main.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..62da318
--- /dev/null
+++ b/main.py
@@ -0,0 +1,14 @@
+from discord.ext.commands import Bot, when_mentioned_or
+
+from config import config
+from utils import load_all_modules
+
+bot = Bot(
+ command_prefix=when_mentioned_or('~'),
+ self_bot=True,
+)
+
+load_all_modules(bot)
+
+if __name__ == '__main__':
+ bot.run(config.token, bot=False)