GithubHelp home page GithubHelp logo

jbasalone / epic-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pwkang/epic-helper

0.0 0.0 0.0 1.4 MB

Discord bot. A reminder & utilities bot for EPIC RPG.

License: MIT License

JavaScript 0.03% TypeScript 99.97%

epic-helper's Introduction

logo

EPIC Helper

License: MIT NodeJS

Discord bot. A reminder & utilities bot for EPIC RPG.


Guide to start the bot

  1. Install node.js

  2. Install pnpm if you haven't

    npm install -g pnpm
  3. Install dependencies

    pnpm install
    pnpm run build:shared
    pnpm run build:bot
  4. Copy .env.example to .env and fill in the required fields

    BOT_TOKEN= # Your bot token
    NODE_ENV= # development or production
    BOT_PREFIX= # Bot prefix
    MONGO_URI= # MongoDB URI e.g. mongodb://localhost:27017/
    MONGO_DB_NAME= # MongoDB database name e.g. epic_helper
    REDIS_URL= # Redis URL
    TOTAL_CLUSTERS= # Total number of shards
    TOTAL_SHARDS= # Total number of shards
    DEV_PREFIX= # (Optional) Dev prefix, for dev only commands
    DEVS_ID= # (Optional) Devs' ID, separated by commas, only whitelisted users can use dev commands
    SENTRY_DSN= # (Optional) Sentry DSN, if you want to use Sentry for error tracking
    PATREON_CAMPAIGN_ID= # (Optional) Patreon campaign ID
    PATREON_ACCESS_TOKEN= # (Optional) Patreon access token
    PATREON_WEBHOOK_TOKEN= # (Optional) Patreon webhook token
    API_PORT= # (Optional) API port, for receiving webhooks from Patreon
    CONTENTFUL_SPACE_ID= # (Optional) Contentful space ID, sources of commands in bot help
    CONTENTFUL_ACCESS_TOKEN= # (Optional) Contentful access token
    STATS_LEADERBOARD_CHANNEL= # (Optional) Channel ID for the leaderboard
  5. Setup MongoDB and Redis

  6. Start bot for development

    # NODE_ENV=development
    pnpm run dev:bot 

    or for production

     # NODE_ENV=production
    pnpm run prod:bot

Support

Consider to star this repository if you find this bot useful. If you have any questions or need help, feel free to join our Discord server


License

This project is licensed under the MIT License - see the LICENSE file for details.

epic-helper's People

Contributors

pwkang 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.