diff options
| author | 2020-03-20 13:20:35 -0500 | |
|---|---|---|
| committer | 2020-03-20 13:20:35 -0500 | |
| commit | 8a983d20c705ad07902ac4f3af54b952575b25ba (patch) | |
| tree | 4f1be3278dd2483e44a01286b037993986c27473 /tests | |
| parent | Updated doc strings to be more descriptive (diff) | |
Updated Docstrings, parameters, and log messages
- Docstrings for `apply_ban()` have been edited to mention that the method also removes a banned user from the watch list.
- Parameter `banned` in `apply_unwatch()` was changed to `send_message` in order to be more general. Boolean logic was swapped to coincide with that change.
- `apply_unwatch()`'s sent message moved to the bottom of the method for clarity. Added `return`s to the method to exit early if no message needs to be sent.
Signed-off-by: Daniel Brown <[email protected]>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions