development activity status

indicates when the bot is in development mode
This commit is contained in:
Corban-Lee Jones 2024-01-30 13:51:13 +00:00
parent b837c54b3f
commit d8e6e5ba06

View File

@ -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