All Projects → NKN1396 → Discord-EmojiToRole

NKN1396 / Discord-EmojiToRole

Licence: MIT license
A discord.js bot that assigns roles based on reactions to a message.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Discord-EmojiToRole

Discord-Reposter
Bot for reposting Discord messages (work in progress)
Stars: ✭ 62 (+12.73%)
Mutual labels:  discordjs, discord-bot, node-js, discord-js, discordjs-bot, discordjsbot
partner-bot
Automates partnerships in the big community of discord.
Stars: ✭ 119 (+116.36%)
Mutual labels:  discordjs, discord-bot, discord-js, discordjs-bot, discordjsbot
cytrus-re
A multipurpose Discord bot!
Stars: ✭ 16 (-70.91%)
Mutual labels:  discordjs, discord-bot, node-js, discord-js
Kalopsia-Bot
♠️ A Powerful Open-Source Discord,js (v13) Bot written in JavaScript with many moderation, fun, economy, music, utility commands ♠️
Stars: ✭ 60 (+9.09%)
Mutual labels:  discordjs, discord-bot, discord-js, discordjs-bot
Luki
[Deprecated] The official repository for Luki the Discord bot
Stars: ✭ 21 (-61.82%)
Mutual labels:  discordjs, node-js, discord-js, discordjs-bot
Discord-multipurpose-bot
A repository with JavaScript and Python versions of the same type of discord commands.
Stars: ✭ 27 (-50.91%)
Mutual labels:  discordjs, discord-bot, discord-js, discordjs-bot
hellsnakebot
🤖About A fully customizable bot built with discord.js
Stars: ✭ 14 (-74.55%)
Mutual labels:  discordjs, discord-bot, discord-js
Discord-Tools
VSCode extension allowing the integration of a Discord chat, bot templates, snippets, themes and more!
Stars: ✭ 91 (+65.45%)
Mutual labels:  discordjs, discord-bot, discord-js
Discord-Bot-Choo-Choo
Coding Train Example Discord Bot
Stars: ✭ 35 (-36.36%)
Mutual labels:  discordjs, discord-bot, discord-js
Blizzard
Simple Discord Moderation Bot
Stars: ✭ 33 (-40%)
Mutual labels:  discordjs, discord-js, discordjs-bot
Discord-Bot-TypeScript-Template
Discord bot - A discord.js bot template written with TypeScript.
Stars: ✭ 86 (+56.36%)
Mutual labels:  discordjs, discord-bot, discord-js
Max-Bot
Max Bot is an open-source bot made in node-js with discord-js. It Has Commands from fun to moderator.
Stars: ✭ 27 (-50.91%)
Mutual labels:  discordjs, node-js, discord-js
PruneBot
PruneBot is an easy to use multi-purpose bot and it has a free open source code to setup your own prune bot to your own server.
Stars: ✭ 13 (-76.36%)
Mutual labels:  discord-bot, node-js, discord-js
Mai
A multi-functional Discord Bot
Stars: ✭ 113 (+105.45%)
Mutual labels:  discordjs, discordjs-bot, discordjsbot
SparkV
🤖⚡ | The most POWERFUL multipurpose chat/meme bot that will boost the activity in your server.
Stars: ✭ 24 (-56.36%)
Mutual labels:  discordjs, discord-bot, discord-js
LenoxBot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 218 (+296.36%)
Mutual labels:  discordjs, discord-bot, discord-js
ApocaBot
ApocaBot: A Discord Bot for PbtA Games
Stars: ✭ 30 (-45.45%)
Mutual labels:  discordjs, discord-js, discordjs-bot
discord-clock
A simple clock script for your bot to show what time it is in your server | Discord.js v13 ready!
Stars: ✭ 29 (-47.27%)
Mutual labels:  discordjs, node-js, discord-js
discord-voice
⏲️ A complete framework to facilitate the tracking of user voice time using discord.js
Stars: ✭ 33 (-40%)
Mutual labels:  discordjs, discord-bot, discord-js
CustomDCBot
Create your own discord bot - Fully customizable and with a lot of features
Stars: ✭ 15 (-72.73%)
Mutual labels:  discordjs, discord-bot, discord-js

EmojiToRole

A discord.js bot that assigns roles based on reactions to a message. It is inspired by Zira, a bot with similar functionality, but instead with a focus on ease of use.

The main differences are:

  • no database required
  • static configuration
  • tiny code base
  • easy to maintain

Features

This bot offers two different modes of operation. The mode can be set independently for every message:

  1. mutually exclusive (disjoint)
  2. independent

Disjoint

  • Makes sure that the member can only ever pick one of the choices presented
  • Picking a different option nullifies the other
  • Reactions get removed immediately
    Example: choosing a team

Independent

  • Members can pick as many choices as they like
  • All roles are kept and reactions stay
  • Removing the reaction causes the respective role(s) to be removed again
    Example: selecting alert roles

Setup

The bot is exclusively configured through .json files. To run it simply install all dependencies (npm i) before using npm run.

Token

Provide your token to the token.json file.

Configuration

All messages to track and their respective settings go into the config.json file. Each message to track is provided as an object in an array. To track more messages simply add the following message Object to the config.json file:

{
  "message": "446409003136712726",
  "channel": "414617785415630855",
  "disjoint": false,
  "reactions": [
    {
      "emoji": "🤔",
      "roles": [
        "446783613439311882"
      ]
    },
    {
      "emoji": "b26:441046394493599764",
      "roles": [
        "446783667084197910"
      ]
    }
  ]
}

Message: ID of the message to track
Channel: ID of the channel the message is located in
disjoint: Wether the bot runs in mutually exclusive (true) or independent (false) mode
Reactions: The reactions to pay attention to and the role(s) they stand for

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].