poshbotio / PoshBot

Powershell-based bot framework
MIT License
538 stars 108 forks source link

Disabling built-in plugins? #213

Closed poseyjmac closed 4 years ago

poseyjmac commented 4 years ago

I can see all the built-in modules in the builtin directory, and I can edit them, but it seems like that has no effect(tried changing 'help' to 'help2' in alias section of 'get-commandhelp' for instance) What I'm trying to do is make the default slack user have access to zero commands, so that I can make all the custom plugins and permissions myself. Is there some other place they are defined, or what am I doing wrong here? Biggest thing I'm trying to accomplish is make a custom !help

Update: In config.psd1, I found that if I replace the IncludeCommands = @('*') with @(), that does kills access to the commands, but this seems kind of drastic. I'd really like to be able to edit the existing ones.