DiscordIntegration

DiscordIntegration

3M Downloads

[Suggestion][Feature Request] Automatic Role Assigning & Command-Upon-Link

thefinaldegree opened this issue ยท 1 comments

commented

Brief Description

Feature: Automatic Role Assigning
In the config, adding an option to list a role to assign when the user links their MC username to discord.

Feature: Command-Upon-Link
In the config, adding an option to run a command on the server when a user completes the linking of their Discord & Minecraft usernames.

Config Example

https://pastebin.com/bgkLqnQp

commented

For backward compatibility it would be bad to remove the allowLinking entry.
We should leave it untouched and better add something like this:

        "allowLinking": true,
        "postLinkingCommands": [
                "do sth with {MCNAME}",
                "do sth different with {DNAME}"
        ],        

This would allow us to add multiple commands that are executed in order of their appearance in the array. This would be quite simple to set up, i guess.