""""
Copyright © Krypton 2021 - https://github.com/kkrypt0nn
Description:
This is a template to create your own discord bot in python.
Version: 2.4.3
"""
"""
Setup bot intents (events restrictions)
For more information about intents, please go to the following websites:
https://discordpy.readthedocs.io/en/latest/intents.html
https://discordpy.readthedocs.io/en/latest/intents.html#privileged-intents
Default Intents:
intents.messages = True
intents.reactions = True
intents.guilds = True
intents.emojis = True
intents.bans = True
intents.guild_typing = False
intents.typing = False
intents.dm_messages = False
intents.dm_reactions = False
intents.dm_typing = False
intents.guild_messages = True
intents.guild_reactions = True
intents.integrations = True
intents.invites = True
intents.voice_states = False
intents.webhooks = False
Privileged Intents (Needs to be enabled on dev page):
intents.presences = True
intents.members = True
"""
=
=
# The code in this even is executed when the bot is ready
# Setup the game status task of the bot
await
await
await
await
await
await
await
await
# Removes the default help command of discord.py to be able to create our custom help command.
=
= f
# The code in this event is executed every time someone sends a message, with or without the prefix
# Ignores if a command is being executed by a bot or by the bot itself
return
# Ignores if a command is being executed by a blacklisted user
return
await
# The code in this event is executed every time a command has been *successfully* executed
=
=
=
# The code in this event is executed every time a valid commands catches an error
=
await
# Run the bot with the token