From a4c058b5c0ec4e441c63ae2ef15235a4869d2bac Mon Sep 17 00:00:00 2001 From: romangraef Date: Tue, 21 Aug 2018 16:12:39 +0200 Subject: Initial commit --- main.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main.py (limited to 'main.py') 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) -- cgit