Giter Site home page Giter Site logo

avnxr / discord-reaction-role-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peterthehan/discord-reaction-role-bot

0.0 1.0 0.0 3.91 MB

A Discord bot that allows users to self-assign roles using reactions.

License: MIT License

JavaScript 100.00%

discord-reaction-role-bot's Introduction

Discord Reaction Role Bot

Discord Twitter Follow Ko-fi Patreon

A Discord bot that allows users to self-assign roles using reactions.

Setup

  1. Follow the instructions in create-discord-bot.

Don't forget to give your bot the Manage Roles permission!

  1. Download this widget and add it into the src/widgets folder.

  2. Open config.json to configure your own settings:

[
  {
    "messageId": "MESSAGE_ID",
    "channelId": "TEXT_CHANNEL_ID",
    "isUnique": true,
    "emojiRoleMap": {
      "EMOJI_1": ["ROLE_1_ID"],
      "EMOJI_2": ["ROLE_2_ID"],
      "EMOJI_3": ["ROLE_3_ID", "ROLE_4_ID"],
      // ...Add as many emoji-role mappings as you want.
    }
  },
  // ...Add as many rules as you want.
]

If isUnique is true, the user can select only one role group at a time (gif above). If false, the user can select as many role groups as they want.

EMOJI_N can be a unicode emoji or an emoji id for custom emojis.

An emoji can map to multiple roles as seen in EMOJI_3 above.

Visit for more help or information!

discord-reaction-role-bot's People

Contributors

peterthehan avatar

Watchers

James Cloos 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.