blob: 8d4b0cd30ceaed42d06ce860127d6ad61ceab93a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from discord import Game
from discord.ext.commands import Bot, when_mentioned_or
from config import token, status
from util import load_all_modules
bot = Bot(command_prefix=when_mentioned_or('!'), activity=Game(status) if status else None)
load_all_modules(bot)
if __name__ == '__main__':
bot.run(token)
|