From d8e6e5ba0635e3878da3f3abfd58f23c11fdb645 Mon Sep 17 00:00:00 2001 From: corbz Date: Tue, 30 Jan 2024 13:51:13 +0000 Subject: [PATCH] development activity status indicates when the bot is in development mode --- src/bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bot.py b/src/bot.py index 079eda0..1e9c8d7 100644 --- a/src/bot.py +++ b/src/bot.py @@ -5,7 +5,7 @@ The discord bot for the application. import logging from pathlib import Path -from discord import Intents +from discord import Intents, Game from discord.ext import commands from sqlalchemy import insert @@ -18,7 +18,8 @@ log = logging.getLogger(__name__) class DiscordBot(commands.Bot): def __init__(self, BASE_DIR: Path): - super().__init__(command_prefix="-", intents=Intents.all()) + activity = Game("Indev") + super().__init__(command_prefix="-", intents=Intents.all(), activity=activity) self.functions = Functions(self) self.BASE_DIR = BASE_DIR