Jump to content

Discord Roles

Pending 1.1.5

Klaxxon
Klaxxon

Posted

Hey Mevent. I have been using LinkingSystem for a couple months now. I am having an issue where players arent automatically getting their discord roles. It kinda driving me crazy if you could help me figure this out, id be grateful.

MeventSupport

Posted

19 hours ago, Klaxxon said:

Hey Mevent. I have been using LinkingSystem for a couple months now. I am having an issue where players arent automatically getting their discord roles. It kinda driving me crazy if you could help me figure this out, id be grateful.

Hey! Roles are assigned based on the "ROLE_NAME" setting in your config.json. Make sure that value matches your Discord role name exactly - it's case-sensitive, so "Linked" and "linked" are different things. If it's empty (""), the bot just skips role assignment entirely. Double check that and let me know!

Klaxxon

Posted

Yes, both discord and the config.json role names match perfectly.

MeventSupport

Posted

13 hours ago, Klaxxon said:

Yes, both discord and the config.json role names match perfectly.

Hmm.... let's narrow it down. Can you check these things:

1. Role hierarchy - In your Discord server settings, is the bot's role positioned above the role it's trying to assign? If not, drag it up. Discord won't let bots assign roles higher than their own

2. Bot console - When a player links, do you see "Adding role to [player name]" in the bot's console? That'll tell us if the code is even reaching the assignment step

3. Developer Portal - Go to discord.com/developers, select your bot application, go to Bot > Privileged Gateway Intents, and make sure Server Members Intent is toggled ON. Without this, the bot can't detect server members properly

Start with #1, that's the most common gotcha with Discord bots and roles.

2.3m

Downloads

Total number of downloads.

10.5k

Customers

Total customers served.

151.7k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.