aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.py b/main.py
index caf02e6..8d4b0cd 100644
--- a/main.py
+++ b/main.py
@@ -1,9 +1,10 @@
+from discord import Game
from discord.ext.commands import Bot, when_mentioned_or
-from config import token
+from config import token, status
from util import load_all_modules
-bot = Bot(command_prefix=when_mentioned_or('!'))
+bot = Bot(command_prefix=when_mentioned_or('!'), activity=Game(status) if status else None)
load_all_modules(bot)