mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 02:46:21 +00:00
XEP-0107: User Mood - Clean mood
* Bugfix in mood_autocomplete (wrong parameter)
* Implemented /mood clean
______________________________________
/ Profanity! THE XMPP client with mood \
\ support! /
--------------------------------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
This commit is contained in:
committed by
Michael Vetter
parent
b1929068ff
commit
7a4cfc14d1
@@ -2680,20 +2680,23 @@ static struct cmd_t command_defs[] = {
|
||||
},
|
||||
|
||||
{ "/mood",
|
||||
parse_args, 2, 3, NULL,
|
||||
parse_args, 1, 3, NULL,
|
||||
CMD_NOSUBFUNCS
|
||||
CMD_MAINFUNC(cmd_mood)
|
||||
CMD_TAGS(
|
||||
CMD_TAG_CHAT)
|
||||
CMD_SYN(
|
||||
"/mood set <mood> [text]")
|
||||
"/mood set <mood> [text]",
|
||||
"/mood clean")
|
||||
CMD_DESC(
|
||||
"Set your mood (XEP-0107). Use tab to switch through predefined moods.")
|
||||
CMD_ARGS(
|
||||
{ "set <mood>", "Setting your mood." },
|
||||
{ "<text>", "Additional Text." })
|
||||
{ "<text>", "Additional Text." },
|
||||
{ "clean", "Clean your user mood." })
|
||||
CMD_EXAMPLES(
|
||||
"/mood set happy \"So happy to use Profanity!\"")
|
||||
"/mood set happy \"So happy to use Profanity!\"",
|
||||
"/mood clean")
|
||||
},
|
||||
// NEXT-COMMAND (search helper)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user