A Powershell module for chatting with a bot. Maybe?
Licensed under the GNU General Public License v3
Drop chatbotreal.psm1 in your modules folder. Specifically, in:
$env:USERPROFILE\Documents\WindowsPowershell\Modules\chatbotreal
This might differ between other versions of Powershell.
To import it, execute:
Import-Module "chatbotreal"
And you can now use the module. Yay?
ChatbotReal exposes a single function. It is called chatbotreal
(yeah, it's very obvious i know) and to execute it, type:
chatbotreal [message]
And here are some of the other parameters here:
-
-Cow
When enabled, instead of outputting into the console, it will go through
cowsay
. If you do not havecowsay
, it fails but still logs the bot's response. -
-Pipe
A useless parameter, I know. If enabled, it uses
Write-Output
instead ofWrite-Host
. Good for saving the bot's output into a file.
- kanej/Posh-Cowsay - Required for
-Cow
parameter.
- Add memories
- More responses