Expand help command with morehelp feature
Now you can specify what command you want help on. Respond if no specific command or help Add moreHelp for the userinfo command Use regex to replace <prefix> with actual prefix
This commit is contained in:
parent
f840bfd9db
commit
977d03e2e2
2 changed files with 20 additions and 4 deletions
|
@ -5,6 +5,7 @@ const creationJoinDates = require("../util/creationJoinDates")
|
|||
module.exports = {
|
||||
name: 'userinfo',
|
||||
description: 'Displays information about the user',
|
||||
moreHelp: ["Example: <prefix>userinfo <some_username>","It works with username, nickname, userid, and mention"],
|
||||
execute({message, args}) {
|
||||
let info;
|
||||
let nickname = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue