markwragg / Powershell-SlackBot

Powershell based Slack Bot using the Real Time Messaging API and WebSockets.
http://wragg.io/powershell-slack-bot-using-the-real-time-messaging-api/
46 stars 19 forks source link

Update SlackBot.psm1 #3

Closed Chirishman closed 7 years ago

Chirishman commented 7 years ago

This way you don't have to update the psm1 any time you add a new function/script into the public or private folder. Also it will give you verbose errors if a function is broken. Learned this trick from the BurntToast module ( https://github.com/Windos/BurntToast )