CactusBot icon indicating copy to clipboard operation
CactusBot copied to clipboard

Command permission changing

Open Innectic opened this issue 8 years ago • 5 comments

!command add test Testing!
!command permission +test

Syntax isn't final

Innectic avatar Mar 06 '17 21:03 Innectic

What if we instead used rename?

!command rename stuff things
!command rename test +test

You wouldn't have to specify the + for the old name, but you could optionally supply it for the new one to change permissions.

2Cubed avatar Mar 06 '17 21:03 2Cubed

Personally I feel as though this is would be better as a separate Magic:tm: command for easier integration with other services and also being able to do it with other magic commands. (See 175 for example)

Alkali-Metal avatar Mar 06 '17 22:03 Alkali-Metal

@2Cubed That's a much better way

Innectic avatar Mar 07 '17 00:03 Innectic

@Alkali-Metal This should stay part of the command command because it changes something about commands. Changing built-in command permissions can still happen using this command, it just needs to be implemented.

Innectic avatar Mar 07 '17 00:03 Innectic

@Innectic it just feels clunky in my opinion to have a !command command changing built-ins. and with using the !config command it could make it easier to understand that it changes both to people who are new to CactusBot

Alkali-Metal avatar Mar 07 '17 00:03 Alkali-Metal