Added a sanity check to sopel-modules\rat-board.py
This sanity check will prevent dispatchers from assigning a client to their own cases.
I myself have done this a few times in error as well as other Dispatches, requiring a pm'ed !unassign afterwards.
The error can produce confusion for clients, as they are told to add themselves to their friends list.
Instead the !assign attempt will fail with a nicely worded error message (please do review)
"Unable to assign a client to their own case."
Added a sanity check to
sopel-modules\rat-board.py
This sanity check will prevent dispatchers from assigning a client to their own cases.I myself have done this a few times in error as well as other Dispatches, requiring a pm'ed !unassign afterwards. The error can produce confusion for clients, as they are told to add themselves to their friends list.
Instead the !assign attempt will fail with a nicely worded error message (please do review)
"Unable to assign a client to their own case."