Provita is a simple discord bot that helps you focus and relax to study with your friends powered with AI by the unofficial Bard API for giving you and your server useful answers and providing useful commands like playing quran, Lofi and background noise.
Report Bug
·
Request Feature
Provita is a multipurpose Discord bot base in Discord.js If you like this repository, feel free to leave a star ⭐ to motivate me!
- Come with Discord.js v13
- Slash Commands
- Media Commands
/help
-> List all bot 's commands and their description./chat "question"
-> Ask the AI questions./quran "sheikh" "surrah"
-> Plays Holy QURAN./lofi "keywords"
-> Plays LoFi music./noise "genre"
-> Play this background noise helps you to focus./pause
-> Toggle to pause/resume currently playing audio./next
-> Skip currently playing audio./queue
-> The list of current queue./shuffle
-> shuffles queue./stop
-> Clears queue completely and disconnects the bot.
- NodeJs v16+
- Discord.js v13 Discord.js Docs.
- DisTube package v3.3.4. Docs
- libsodium-wrappers package. Package link
- Discord Token. Get it from Discord Developers Portal
- Mongo Database URL. Get it from MongoDB
- FFMPEG installed. Link
Installing via NPM
Clone the repo by running
git clone https://github.com/MarwanRadwan7/provita.git
npm install
To start your bot
node index.js
To start your bot in development mode
npm run devStart index
Provita/
├── commands/
│ ├── ask.js
│ └── ... (other command handlers)
├── events/
│ ├── ask.js
│ └── ... (other event handlers)
├── utils/
│ ├── mongoConnection.js
│ └── ... (other helper functions)
├── models/
│ ├── userSession.js
│ └── GuildChannel.js
├── apis/
│ └── bardAPI.js
├── package.json
├── index.js
├── .env
└── .gitignore
DISCORD_TOKEN = Your bot Token
CLIENT_ID = Client ID
GUILD_ID = Your Server ID
BARD_KEY = `__Secure-1PSID` Cookie
ENV = DEVELOPMENT
MONGO_URL = Your MongoDB URL connection
- Host the bot.
- More /commands
- Upgrade the Ai-API and move to palm api.
If you liked this repository, feel free to leave a star and support me on BMC. 😊