pythonDiscordBot

This is a open source discord bot project

#based on the MAX A video:
https://www.youtube.com/watch?v=jHZlvRr9KxM

Prerequisites

  • Python 3.5.3

Create a Bot on Discord Site

If you are a friend and need to host the bot to our server:

  • Ask Edson for a key
  • Create an APIKEY.txt and put the key inside

Else:

  • Go to site Discord developer
  • create a new Application
  • Go to bot Menu click on Add bot
  • Uncheck PUBLIC BOT
  • Check PRESENCE INTENT and SERVER MEMBERS INTENT
  • Go to OAuth2
  • In SCOPES check bot and applications.entitlements
  • In BOT PERMISSIONS check Administrator
  • Click copy and go to the link to add the bot to your Discord server
  • Go to bot and click Copy in Token
  • Create an APIKEY.txt and put the key inside

How to Install

Run for Linux

chmod +x config.sh
sudo ./config.sh

Run for Windows

pip3 install -r requirements.txt

How to Run and use

Run

python3 main.py 

Commands

  • ?join
  • ?disconnect
  • ?queue
  • ?frita {music or video, name or link}
  • ?skip
  • ?pause
  • ?resume
  • ?alyson
  • ?corno
  • ?coin

GitHub

https://github.com/EdsonHTJ/pythonDiscordBot