aboutsummaryrefslogtreecommitdiff
path: root/main.py
blob: 62da318fe15ed7f879cd49088adc83ace8afecac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)