Giter Club home page Giter Club logo

mr.grape's Introduction

Mr. Grape

Mr. Grape

By kinglalu#2780 and DAONE#7538

Mr. Grape is an Open Source Discord Bot made using Discord.js that includes Music features, an Economy and more!

Help support Mr Grape by voting for it here on top.gg; https://top.gg/bot/743833062265323651/vote

Invite to your server!

Deploy to Heroku

About

Mr. Grape contains a wide variety of music commands using ytdl-core, and has a well-developed economy system with features such as user shops and an inventory. In addition, Mr. Grape has moderation commands for kicking and banning members, as well as purging messages. This just scratches the surface of what Mr. Grape can do, as there is an extensive list of fun commands that add flavor to any server it's in.

Notes

  • The bot's prefix is +, however this can be changed with the command +prefix <new prefix>.
  • Many of the APIs used in Mr. Grape require private keys to be issued and added before those services will work.

APIs Used

You will need to go to each of these websites and acquire an API key for each of their associated services.

Setup

Press the "Deploy to Heroku" button, and give the app a name. Make sure you have a application made in https://discord.com/developers/applications, create a bot under that application, and get the BOT TOKEN from there. Once the Heroku app is deployed, go to Configure dynos and make sure web dyno is off and worker dyno is on like so:

Dyno config
Once that is done, go to Settings and under config vars, make a key called `BOT_TOKEN`. Then as the value, paste in the token you got earlier. Do not share these tokens with anyone, or that person will have access to your bot. Then once you have that, get your API keys for the APIs listed above, then put in the names of the APIs and the keys in the value, like so:
KEY config
Finally, you will need a database to store the data of the players using the economy commands. We use keyv, but it can be easily edited to use a diffrent db such as MongoDB, Redis, etc. Go to Resources tab, and where you see Add-ons, Search "Heroku Postgres" or "Heroku Redis", and attach it as a database, like so:
Database config
If you used the onboard add-on databases provided by Heroku, you are good to go! If you used an external db outside of Heroku, then make a config var called `DATABASE_URL` and put the database's connection url in it. You should be all set and the bot should be online. For any questions or inquires, feel free to join the discord and ask! https://discord.gg/2RKPmDg2A6

mr.grape's People

Contributors

boomermath avatar kinglalu avatar deopdeop avatar compactcow avatar caracal-js avatar dependabot[bot] avatar joebobbio 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.