v0.11.3
[0.11.3] 2018-11-06
Changes
- Reference
$global:PoshBotContext
instead ofPoshBotContext
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 withNew-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)