mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 23:26:21 +00:00
xep-0107: code review
* Remarks in the Merge Request (ac_reset, help) * Defines in iq.c * Mood help and null check * Added additional information about tab key in CMD_DESC. * Added additional null check
This commit is contained in:
committed by
Michael Vetter
parent
e745b4af60
commit
2f3de0eb0d
@@ -2688,9 +2688,12 @@ static struct cmd_t command_defs[] = {
|
||||
CMD_SYN(
|
||||
"/mood set <mood> [\"Text\"]")
|
||||
CMD_DESC(
|
||||
"Set your mood")
|
||||
CMD_NOARGS
|
||||
CMD_NOEXAMPLES
|
||||
"Set your mood. Use the tab key to switch through the available moods")
|
||||
CMD_ARGS(
|
||||
{ "set <mood>", "Your mood" },
|
||||
{ "<text>", "Additional Text" })
|
||||
CMD_EXAMPLES(
|
||||
"/mood set happy \"I'm happy\"")
|
||||
},
|
||||
// NEXT-COMMAND (search helper)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user