Nos78 / MrData

Discord Bot providing some simple scoring using postgres
GNU General Public License v3.0
3 stars 1 forks source link

Use dynamic name and prefix within command help description #24

Open Nos78 opened 4 years ago

Nos78 commented 4 years ago

The help for most of the commands has a hardcoded prefix and command name.

Using ${config.prefix} we can have the help return the correct prefix even when it changes, without having to modify the help. This will mean that the help text is still correct once the command prefix is user-defined.