Added support for autocomplete and other interaction (Not implemented)
Added command for state leads give users Regional Lead role
Added enum for all US State and Territories (Based on FFA list)
Changes to src/events/interactionCreate.ts
Updated file to added support for all interactions but only linimented ChatInputCommand and AutocompleteInteractionNote: Changes should be validated to make sure that existing code still works
Regional Lead Role Command
Command /region-leads has two subcommands add and remove.
By default this command members need ManageRoles permissions. To give access to members without permissions apply a Command Overwrites.
Command checks that the member using the command has the same state as the target member before adding ore removing the regional role
Validation Need
[ ] src/events/interactionCreate.ts must be checked that it works and does not break existing command handling
Headlines
Changes to
src/events/interactionCreate.ts
Updated file to added support for all interactions but only linimented
ChatInputCommand
andAutocompleteInteraction
Note: Changes should be validated to make sure that existing code still worksRegional Lead Role Command
Command
/region-leads
has two subcommandsadd
andremove
. By default this command members needManageRoles
permissions. To give access to members without permissions apply a Command Overwrites.Command checks that the member using the command has the same state as the target member before adding ore removing the regional role
Validation Need
src/events/interactionCreate.ts
must be checked that it works and does not break existing command handling