Template
Update doc string for main.py.
This commit is contained in:
@@ -16,13 +16,7 @@ nextcord_logger.addHandler(nextcord_handler)
|
||||
|
||||
|
||||
def main() -> None:
|
||||
"""
|
||||
Set config, intents, then connects the bot to discord.
|
||||
|
||||
Args:
|
||||
cfg (BotConfig): The local configs to use.
|
||||
|
||||
"""
|
||||
"""Set config, intents, then connects the bot to discord."""
|
||||
# Allows privileged intents for monitoring members joining, roles editing, and role assignments
|
||||
# These need to be enabled in the developer portal as well
|
||||
intents = nextcord.Intents.default()
|
||||
|
||||
Reference in New Issue
Block a user