poshbotio / PoshBot

Powershell-based bot framework
MIT License
536 stars 108 forks source link

Patch 2 #166

Closed delrio1110 closed 5 years ago

delrio1110 commented 5 years ago

Allow * to used as empty prefix

Description

In Teams, we already have to use @ to call the bot,so I didn't want to use an additional prefix like !. I'm not sure where in the code your not allowing $null to be a prefix so I removed * from [regex]::escape().

Related Issue

https://github.com/poshbotio/PoshBot/issues/163

Motivation and Context

How Has This Been Tested?

Tested by not using a prefix like !. @poshbot Status

poshbot 11.5

Screenshots (if appropriate):

image

Types of changes

Checklist:

delrio1110 commented 5 years ago

Your change worked