Classes/BotCommand.ps1
# This marks a class method as a bot command. When loading a plugin, the bot framework will # look for methods decorated with this attribute. These methods will be the commands exposed # to users of the bot # class BotCommand : Attribute { # [string]$Name # The name for the bot command # [bool]$HideFromHelp = $false # Hides the command from help # [bool]$KeepHistory = $true # Store history of command executes in bot history # } |