poshbotio / PoshBot

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

Remove line breaks issue#109 #111

Closed AndrewPla closed 5 years ago

AndrewPla commented 6 years ago

Switched to using the command parser to determine if a message is a bot command or not.

Description

Related Issue

Issue #109

How Has This Been Tested?

It's a small change, but it has fixed my issue. There may be a different way of handling this, but I see that the $parsedCommand is referred to in a few other places so I think it matches with the style.

Types of changes

Checklist:

AndrewPla commented 6 years ago

Yeah, I must've mucked it up at some point when creating the new branch and what not. Whoopsie!

devblackops commented 5 years ago

Thanks @AndrewPla!