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

The term 'Invoke-SlackBot' is not recognized as the name of a cmdlet #9

Closed Platanisiotis closed 7 years ago

Platanisiotis commented 7 years ago

I've imported the module and once I tab complete Invoke-SlackBot (which does auto complete) I get the error where Invoke-SlackBot is not recognised and then it will no longer tab complete.

Have you seen this?

markwragg commented 7 years ago

This might have occurred if you had downloaded the module from source control directly vs installing it from the PS Gallery. This is because the Module Manifest FunctionsToExport field wasn't populated until the build process occurred.

I've now populated FunctionsToExport manually in the module manifest so if you download the latest version it should now tab complete/locate the Invoke-SlackBot command.