Add /query (alias of /msg)
https://github.com/haavard/tox-weechat/issues/12
This commit is contained in:
parent
17ae6d845e
commit
9c1d362497
@ -1246,6 +1246,13 @@ twc_commands_init()
|
|||||||
"%(tox_friend_name)|%(tox_friend_tox_id)", twc_cmd_msg,
|
"%(tox_friend_name)|%(tox_friend_tox_id)", twc_cmd_msg,
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
|
|
||||||
|
weechat_hook_command("query", "send a message to a Tox friend",
|
||||||
|
"<number>|<name>|<Tox ID> [<message>]",
|
||||||
|
"number, name, Tox ID: friend to message\n"
|
||||||
|
"message: message to send",
|
||||||
|
"%(tox_friend_name)|%(tox_friend_tox_id)", twc_cmd_msg,
|
||||||
|
NULL, NULL);
|
||||||
|
|
||||||
weechat_hook_command("myid", "get your Tox ID to give to friends", "", "",
|
weechat_hook_command("myid", "get your Tox ID to give to friends", "", "",
|
||||||
NULL, twc_cmd_myid, NULL, NULL);
|
NULL, twc_cmd_myid, NULL, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user