Lurkr calling out level ups at wrong levels all of a sudden
nothing has changed in the information for the bot, no one has changed anything in the server yet all of a sudden the bot is calling out level role changes at random numbers.

27 Replies
:NighthawkInteractionError: BEFORE YOU ASK FOR SUPPORT :NighthawkInteractionError:
1️⃣ • Use the panel in #🆘-instant-support to check if your problem is a common issue! Use the documentation and it's detailed guides to help you setup Lurkr!
2️⃣ • Use the commands /config check and /config troubleshoot to get a better idea what issue you're having!
❓ • Still stuck? Ask your question in as much detail as possible to help other people understand what your problem is and help you fix it quickly!
❗• This server uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the web to help others find answers.



these are just a few of MANY that have happened
Can you send your level up message config?
Hi! I'm also an admin from that server. Looks like #rolerewards trigger is working incorrectly

@Almeida
Can you use /test to see if it does it with that command?
Test seems to work fine


It might be an issue with the role stacking, could you enable role stacking and see if it changes?
Thanks, I enabled role stacking, let's see how it goes. It's just weird that it was working fine and then suddenly broke one day
Yeah it definitely shouldnt be doing that, there hasn't been a change for a few days

now its announcing all roles?
Yeah now its being stacked. Try turning stacking now back off and see how it behaves
ok
same issue now as above calling our roles at random numbers
the
roleRewards
template variable contains the roles that were assigned to the user
can you confirm in the audit log of the server that the timings coincide?
regardless of level in practice, since role rewards are re-synced on every level up. so with your config, if you were to level up from 3 -> 4 and somehow didn't have the level 1 reward ("Reader"), it will give the Reader role to the user (and it will be included in the roleRewards var)why did it all of a sudden start doing this though, weve been using this since March with no issues
its been this way since the roleRewards var was added
did you check this?
Heres one for Sprinto (its leveling up the bot not sure why but it is an example of an incorrect level role change)

library mouse, it just seems to be all over the place


but then this one isn't in the audit log
all of the sprinto levellings matches with a message in the level ups channel for a member being pinged, hang on
lemon's screenshots show the other



oh wait, sprinto is a bot?
if so then this is the same bug as #User leveled up on wrong msg wrong type of message was sent even and the role was assigned to a bot
ok we blacklisted the bots to see if that works
Solution
I will deploy a fix whenever I get back to the hotel
thank you much appreciated!!