I'm a bot trying to be useful. Hope I'm not too buggy!
The Naota project is developed for academic popuses only. We do not hold ourselves responsable for the improper use of this code base. Please review the Discord Developer Policy and Youtube API Terms of Service before moving forward.
This code base can run on Windows and Linux with proper setup.
Naota is built on top of discord.py and YouTube Data API
-
ffmpeg - For audio streaming
odds are that you (like me) dont have this installed all ready. For a guide on how to do se we recomend geeks for geeks tutorial
- Get a local copy of the repository
git clone https://github.com/Wissenss/Naota.git
- Install all necessary python modules
pip install -r requirements.txt
- Create a new .env file inside the project folder and set it up as follows
DISCORD_TOKEN="YOUR DISCORD TOKEN"
YOUTUBE_TOKEN="YOUR YOUTUBE API TOKEN"
CODEFORCES_TOKEN="YOUR CODEFORCES API TOKEN"
COMMAND_PREFIX="/"
MAIN_COLOR="dark_blue"
LOG_LEVEL="DEBUG"
DB_FILE_PATH="./naota.db"
YOUTUBE_TOKEN
, CODEFORCES_TOKEN
and DB_FILE_PATH
are not actively being used, so not defining them will probably be fine for now but it's recommended to do so.
The application will request the following from your server:
- bot
- application.commands
- Send Messages
- Manage Messages
- Connect
- Speek
- Use Application Commands
The permision integer for them is 2150640640
.