Role Syncing #35
Labels
No labels
bug
cog
cog
Aurora
cog
Backup
cog
Bible
cog
EmojiInfo
cog
Nerdify
cog
Pterodactyl
cog
SeaUtils
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cswimr/SeaCogs#35
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What cog is your feature request for?
Pterodactyl
Is your feature request related to a problem? Please describe.
With the advent of linking & verification (#32) in Pterodactyl V3, a natural next step is allowing server administrators to sync roles between Discord and the game server being ran.
Describe the solution you'd like
When a role is added or removed from a Discord user, the cog should check if that role is configured for role syncing. If it is, the cog will send a command to the Pterodactyl Panel websocket based on how the role is configured. Role syncing commands would support the normal Command Placeholders (see #34) and would be configured per individual role. Different commands would be ran based on if the role was added or removed.
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
If you have any ideas for how to implement this system, please comment below. This is a tough issue to tackle because of issues like downtime making de-syncs possible.