Fix and improve broken and bad code.

Improve command handler, fixed message logging, fixes potential prefix problem, other small changes
This commit is contained in:
Isaac
2021-04-01 19:33:53 +01:00
parent 3def7e290d
commit 2e9217f30d
10 changed files with 78 additions and 76 deletions

View File

@@ -3,12 +3,13 @@
"version": "[Discord Tickets](%s) v%s by [eartharoid](%s)"
},
"cmd_usage": {
"title": "`%s` command usage",
"description": "**Usage:** %s"
},
"cmd_usage_named_args": {
"title": "`%s` command usage",
"description": "This command uses named arguments:\n`%s argName: value anotherArg: \"A string value\";`\n\n**Required arguments are prefixed with `❗`.**"
"args": {
"description": "**Description:**",
"example": "**Example:**"
},
"description": "**Usage:**\n`%s`\n\n**Example:**\n`%s`\n\nRequired arguments are prefixed with `❗`.",
"named_args_description": "This command uses named arguments.\n\n",
"title": "`%s` command usage"
},
"commands": {
"new": {
@@ -23,7 +24,8 @@
},
"topic": {
"name": "topic",
"description": "The topic of the ticket"
"description": "The topic of the ticket",
"example": "Problem with billing"
}
},
"description": "Create a new ticket",