Giter VIP home page Giter VIP logo

provita's Introduction

provita

Version Stargazers MIT License

Provita

PROVITA

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

》Notice

Provita is a multipurpose Discord bot base in Discord.js If you like this repository, feel free to leave a star ⭐ to motivate me!

》Features

  • Come with Discord.js v13
  • Slash Commands
  • Media Commands

》Slash 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.

》Requirements

》Installation Guide

Installing via NPM

Clone the repo by running

git clone https://github.com/MarwanRadwan7/provita.git

After cloning Fill all requirement in .env, then run.

npm install

To start your bot

node index.js

To start your bot in development mode

npm run devStart index

》Technical Documentation

The project structure:

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

The .env file should look like this:

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

》To-Do

  • Host the bot.
  • More /commands
  • Upgrade the Ai-API and move to palm api.

》Support Me

If you liked this repository, feel free to leave a star and support me on BMC. 😊

SVG Image

provita's People

Contributors

marwanradwan7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.