development activity status
indicates when the bot is in development mode
This commit is contained in:
parent
b837c54b3f
commit
d8e6e5ba06
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user