Template
Merge branch 'main' of https://gitea.cheezers.org/imcompiling/discord-bot-template
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
||||
.gitea/workflows/*.yml
|
||||
main.py
|
||||
pyproject.toml
|
||||
pyproject.toml
|
||||
settings.py
|
||||
@@ -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