v0.11.0
[0.11.0] 2018-09-09
Added
-
Initial support for Microsoft Teams backend. To connect to Teams, additional Azure resources are required which the Teams backend will connect to. Command and regex triggers are supported. Event triggers currently are not. In group conversations, you must '@' mention the bot followed by your text message otherwise the bot will not receive it. In one-on-one conversations with the bot, '@' mentioning is not needed. More information can be found here.
-
Support for custom middleware to be executed during the command processing life cycle has been added.
It is now possible to execute custom scripts pre/post receiving a message from the chat network, pre/post command execution, and pre/post command response.
These execution hooks can be used for centralized authentication logic, custom command whitelisting and blacklisting, response sanitation, or any number of other uses. -
#89 Add
CustomData
parameter toNew-PoshBotCardResponse
.
This enables custom backends and plugins to send additional data in a card response (via @scrthq). -
#99 Add
CardClicked
event type toMessageType
enum.
This enables custom backends that supportCardClicked
events in interactive cards to use this event type with event-trigger based commands (via @scrthq). -
Enable multiple groups or roles to be created or removed at once via the
New-Group
,New-Role
,Remove-Group
, andRemove-Role
builtin commands. -
Added new builtin command
Get-MyCommands
which returns all loaded commands the calling user is authorized to execute. -
#105 Add
BackendType
property to$global:PoshBotContext
with a value of the type of backend that is configured in PoshBot.
This value can be used by plugin commands to change their behavior based on the type of backend (e.g., Slack, Teams, or GChat) (via @ChrisLGardner).
Fixed
-
Start-PoshBot
with-AsJob
switch now works correctly. -
When removing a plugin, the PowerShell module is now also unloaded.
-
#90 Fixed scheduling logic to fire commands at interval based on start time (via @JasonNoonan)
-
Fix
Get-CommandHelp
to display correct help when one item is returned.