Git Product home page Git Product logo

rapi-bot's Introduction

Before you run the bot

There are a couple functionalities that Rapi BOT will do if you have the proper channels set up

  • #nikke channel to send the daily reset message with special interception boss and open tribe tower. This pings the role "Nikke", so you need both the channel and role for it to work. The role IT'S CASE SENSITIVE, "Nikke".
  • #rapi-radio voice channel for the bot to connect and play music 24/7, it's the music on the radio folder, feel free to change it to fit your server
  • "Grounded" role on your server. The bot will ignore everyone with this role and commands will not work for them

How to run the bot locally

Obviously you need a Discord bot, the official documentation is easy to follow and you can get your API keys there.

Check the .evn.example for the variables you need to setup

# Port of your app
WAIFUPORT=
# Token of the discord bot
WAIFUTOKEN=
# I use thecatapi.com to send random cats when you mention the bot
CATAPI=
# client id from OAuth2 discord dev portal
CLIENTID=

To run the bot in dev mode, you only need to install and run

# Install npm packages
npm install

# Test in dev ennvironment, you need the bot on your server
npm run dev

To run the bot on a server, you can use whatever method you prefer. I personally use PM2 on my server as I think it's probably one of the easiest ways.

rapi-bot's People

Contributors

mascarell avatar strip3s avatar alisiddiqi1234 avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  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.