Discord BOT for YOUNG PROFESSIONAL IN DATA SCIENCE
python -m venv discord_env
source ./discord_env/bin/activate (LINUX)
.\discord_env\Scripts\activate (WINDOWS)
pip install discord.py
git clone git@github.com:Loyolan/YPDS-BOT.git
cd YPDS-BOT
python main.py
(MAKE YOU THAT YOU HAVE THE FILE 'privateapikeys.py' BEFORE RUNNING THE BOT)
This file contains the private TOKEN of your BOT, it cannot be shared in public
https://discordpy.readthedocs.io/en/stable/api.html
READ COMMENTS IF YOU WANT TO KNOW HOW IT WORK
main.py
-the principal code
-all events
-run bot
responses.commands.py
-response generator for specific message or embed (start with '!')
responses.embed.py
-contains a generator embed method
if you want to know more about Embed Class:
https://discordpy.readthedocs.io/en/stable/api.html#embed
CLIENT
https://discordpy.readthedocs.io/en/stable/api.html#client
CHANNELS EVENTS
https://discordpy.readthedocs.io/en/stable/api.html#channels
CONNECTIONS EVENTS
https://discordpy.readthedocs.io/en/stable/api.html#connection
GUILDS EVENTS
https://discordpy.readthedocs.io/en/stable/api.html#guilds
MEMBERS EVENTS
https://discordpy.readthedocs.io/en/stable/api.html#members
MESSAGES EVENTS
https://discordpy.readthedocs.io/en/stable/api.html#messages
REACTIONS EVENTS
https://discordpy.readthedocs.io/en/stable/api.html#reactions
ROLES EVENTS
https://discordpy.readthedocs.io/en/stable/api.html#roles
USER MODEL
https://discordpy.readthedocs.io/en/stable/api.html#id1
MESSAGE MODEL
https://discordpy.readthedocs.io/en/stable/api.html#message
REACTION MODEL
https://discordpy.readthedocs.io/en/stable/api.html#reaction
GUILD MODEL
https://discordpy.readthedocs.io/en/stable/api.html#guild
MEMBER MODEL
https://discordpy.readthedocs.io/en/stable/api.html#member
EMOJI MODEL
https://discordpy.readthedocs.io/en/stable/api.html#emoji
ROLE MODEL
https://discordpy.readthedocs.io/en/stable/api.html#role
EMBED CLASS
https://discordpy.readthedocs.io/en/stable/api.html#embed
FILE CLASS
https://discordpy.readthedocs.io/en/stable/api.html#file