Skip to content

v0.11.3

Compare
Choose a tag to compare
@devblackops devblackops released this 07 Nov 05:42
· 177 commits to master since this release

[0.11.3] 2018-11-06

Changes

  • Reference $global:PoshBotContext instead of PoshBotContext so it's clear what variable we're using.

Fixed

  • #129 To avoid serialization issues when executing a command in the PS job, use the module-qualified command name instead of the function/cmdlet object returned from Get-Command. (via @Tadas)

  • #132 By default, the ChannelRules property of the [BotConfiguration] object has a single rule that allows all commands in all channels.
    This is so that when creating a new configuration object with New-PoshBotConfiguration and specifying no addition parameters, we have a working configuration.
    When creating a new bot configuration object AND passing it one or more channels rules, we should zero out the array as it is implied by passing in channel rules that the rules should be exactly what was passed in and not IN ADDITION to the default one. (via @DWOF)