Discord looking-for-group bot.
client = BotClient(intents=intents)
module-attribute
intents = discord.Intents.default()
module-attribute
logger = logging.getLogger(__name__)
module-attribute
BotClient(*, intents)
Bases: Client
Main client for Discord.
Init.
Source code in src\discord_lfg\bot.py
| def __init__(self, *, intents: discord.Intents):
"""Init."""
super().__init__(intents=intents)
self.tree = app_commands.CommandTree(self)
|
tree = app_commands.CommandTree(self)
instance-attribute