techy2493 / ts-disc-control

A Discord Bot for syncing Discord roles to Teamspeak clients using Server Query.
GNU General Public License v3.0
5 stars 1 forks source link

Role syncing not requiring the same names #7

Closed SSRPStevens closed 7 months ago

SSRPStevens commented 7 months ago

Biggest issue I currently have is requiring the Discord role and the TeamSpeak role to be named the same. Is causing some workflow difficulties when it comes to getting things setup. Thank you!

techy2493 commented 7 months ago

Update roles table to add TS Group ID column, ensure both ids are unique. Update sync and unsync commands to allow for managing this, using TS group name to get the ID, and add error messages when unique constraint is violated which provides the current config'd names. Sync command should prompt user to override existing value(s) with button inputs. While editing make both commands inherit /tsid's config'd permission and allow add one additional config to provide a separate role for these commands permissions.