poshbotio / PoshBot

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

Support message reactions to indicate commands are running, succeeded, or failed #39

Closed devblackops closed 7 years ago

devblackops commented 7 years ago

Expected Behavior

Visual indication that the bot is processing a command given to it. Some commands may be long running and it would be good UX to notify the user that the bot received the message and is processing it.

It would also be handy to mark the message as completed or failed as bot commands/responses in a busy channel may be interwoven with normal user messages and it may not be apparent if a command succeeded or not.

Current Behavior

There is currently no indication that the bot is running the command the user entered.

Possible Solution

  1. Add a processing reaction as soon as the bot begins executing a command. When the command completes (successfully or with errors), the processing reaction is removed. processing

  2. Add a success reaction when a command completed successfully. success

  3. Add a failure reaction when the command returns with a failure. failure

devblackops commented 7 years ago

Fixed in d0e39209435aa501d5c3f484bb6e12d9e392d742, fb96c4f227a8352a93269edc9e1a599e7906606c, and 6f108abd962ebe83abe9af62c744dc2648391719