-
Notifications
You must be signed in to change notification settings - Fork 2
Description
For linked accounts, add a command to the Discord bot which would allow you to run commands as your user on the server. As such, we could retain permissions (via LuckPerms), but allow you to run commands even though you're not logged in on the server.
For example, if the FireControl1847 user was linked to my Discord account, and I had permission on the server to set the weather, then I could run tdl!run weather clear or something like that to clear the weather on the server. The command would run through the appropriate permissions check for my user, then if I have permission, it'd run that command on the server
There should also be a configuration option to whitelist users who are allowed to use the tdl!run command, as even though it'll limit you to the same commands that your user has permission to, the command sender is still console and has console permissions