Right now, the modmail command doesn't explicitly have any arguments specified and a possible message will be parsed by slicing the Discord message which invoked the command. Instead of taking the message and removing the !modmail at the beginning of it, one can simply use a so called keyword-only argument instead. This way, the generated help message of said command, will specify the need of a string as an argument and it won't be possible to send modmails with no content to moderators.
Right now, the modmail command doesn't explicitly have any arguments specified and a possible message will be parsed by slicing the Discord message which invoked the command. Instead of taking the message and removing the
!modmail
at the beginning of it, one can simply use a so called keyword-only argument instead. This way, the generated help message of said command, will specify the need of a string as an argument and it won't be possible to send modmails with no content to moderators.