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