mimickal / reactionrolebot Goto Github PK
View Code? Open in Web Editor NEWBasic, no BS Discord bot that can assign / unassign roles with message reactions
License: GNU Affero General Public License v3.0
Basic, no BS Discord bot that can assign / unassign roles with message reactions
License: GNU Affero General Public License v3.0
Hi, thanks for this.
I just invite your instance to my server and the only way to get a response with "@ No BS Role Reacts help" is given it the Administrator permissions. But this is not what your readme says, so it is working fine?
The role is at top, I tried giving it all the others permissions except Admin, but seems that it only works with the Administrator permission.
I am missing something? it will works if I remove that permission after I create the message with roles?
v2.0.0 attempts to warm up the message cache on login. It does this by scanning every channel in every server for every message the database has for that server. This works when the bot is only in one or two servers, but completely annihilates the API with 404 errors at any reasonable scale. This causes the bot to hit the rate limit almost immediately, and if run on the same machine your desktop client is on, will also lock you out of the desktop client.
I have disabled this functionality in my hosted instance. I need to formally disable it and draft up a new release for that.
As of v2.0.0, emojis such as 1️⃣ trigger an "invalid Emoji key" error in database.js
. Not sure why yet. Will investigate.
Instead of editing a users message. Is there any command or way to make the bot create a message instead in a channel with description and title? Use that as the message link to create roles? Lets say the person whom's message is linked leaves the server. That becomes problematic as we cannot edit their message. But if it's the bots own message we can do it.
Slash commands are currently in development. I will update this issue with more info as things get done.
Would it be possible to get this bot running forever on Heroku? A possible quick setup would be nice too.
How to change the commands and query themselves (from "@bot select "to"! select")?
When making roles A and B mutually exclusive, attempting to assign one will cause the bot to immediately unassign it. This was almost certainly broken in https://github.com/Mimickal/ReactionRoleBot/releases/tag/v2.0.0.
Hey, I tried adding a reaction to a message, I made sure to select the message before that. While trying to add a reaction with: @bot role-add 👍 @member, I get this error: [Error: insert into reacts
(emoji_id
, guild_id
, message_id
, role_id
) values ('�', '746419337509994509', '746744995813523557', '746741321070411868') - SQLITE_ERROR: no such table: reacts] {
errno: 1,
code: 'SQLITE_ERROR'
Help please!
Today a new member wrote me that he couldn't use the autorole and it turns out that your bot is offline in all servers I am using it, I don't know for how long. I tried to re-invite it but it's still the same.
Can you check that everything is running on the server hosting the bot please? I haven't changed any settings since the last time I saw it working. Maybe Discord did some changes in the last update?
Thanks!
I have the error [Error: insert into reacts
(emoji_id
, guild_id
, message_id
, role_id
) values ('685131850762682463', '676117230349713458', '724212682630234122', '689816959730057237') - SQLITE_ERROR: no such table: reacts] {
errno: 1,
code: 'SQLITE_ERROR'
}
What I have to do?
Hi, just got the development version of this bot working. I'm having trouble right now though with getting custom emojis functioning - When I map a role to a custom emoji on a message, the bot acknowledges this, and adds the emoji onto that message, but actually clicking on that reaction on the message had no effect on roles. This is working fine for default Discord emojis.
Help would be much appreciated!
So I was doing some testing with it and noticed if you go too quick and react to multiple emojis (5 in my test) it will miss some roles to assign, Then when I un-reacted to all of them it removed some but not all, but the weirdest part was it removed one then added another- very strange.
This bot has great potential, I see you mention rate limits but this doesn't have anything to do with rate limiting- another reaction bot I host is able to support fast reacting/un-reacting.
I'm also a bit confused about how the mutuall exclusive roles work. Rather than trying to understand it, maybe you could answer this for me; When someone reacts for certain roles, anytime they react to 1 or more of them, the bot will always make sure they are assigned this "base" role. In this example the ----Notifs----
is the base role, so anytime someone reacts to get any of the roles below it, the bot makes sure that they also have the ----Notifs----
role as well. (This is more of a cosmetics thing, just to show that any roles below this are purely for ping notifications)
Is that was mutual exclusive roles are supposed to do? Because I assigned ---Notifs---
to each of those roles, but when I reacted to the emojis it assigned the role but never the ---Notifs---
role.
(Edit: When testing mutual exclusive, because of the issue with speed of assigning/un-assigning roles the mutual exclusive doesn't work that great because if you have roles A & B then react to C, it attempts to remove A & B but always leaves 1 or another.)
The message select context menu command has been causing unhandled errors for some time now. This is a known issue and I am working on it.
In the mean time, the /select-message-mobile
slash command can be used with a message link to work around this issue.
When running npm ci
I get a huge error log return. Not sure what to do.
Is it possible to set 2 roles per reaction?
There might be a slight issue with this. When the user unreacts to get the role removed, the bot doesn't know better to leave the base role assigned unless users has unreacted to all reactions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.