mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 15:43:02 +01:00
Re-add /group command
Another one lost in a rebase
This commit is contained in:
parent
fa075f1972
commit
4f26171e3f
@ -49,7 +49,8 @@ static struct cmd_func global_commands[] = {
|
|||||||
{ "/connect", cmd_connect },
|
{ "/connect", cmd_connect },
|
||||||
{ "/decline", cmd_decline },
|
{ "/decline", cmd_decline },
|
||||||
{ "/exit", cmd_quit },
|
{ "/exit", cmd_quit },
|
||||||
{ "/conference", cmd_conference },
|
{ "/conference",cmd_conference },
|
||||||
|
{ "/group", cmd_groupchat },
|
||||||
#ifdef GAMES
|
#ifdef GAMES
|
||||||
{ "/game", cmd_game },
|
{ "/game", cmd_game },
|
||||||
#endif
|
#endif
|
||||||
@ -123,7 +124,7 @@ static struct cmd_func conference_commands[] = {
|
|||||||
|
|
||||||
static struct cmd_func groupchat_commands[] = {
|
static struct cmd_func groupchat_commands[] = {
|
||||||
{ "/chatid", cmd_chatid },
|
{ "/chatid", cmd_chatid },
|
||||||
{ "/disconnect", cmd_disconnect },
|
{ "/disconnect",cmd_disconnect },
|
||||||
{ "/ignore", cmd_ignore },
|
{ "/ignore", cmd_ignore },
|
||||||
{ "/kick", cmd_kick },
|
{ "/kick", cmd_kick },
|
||||||
{ "/mod", cmd_mod },
|
{ "/mod", cmd_mod },
|
||||||
|
@ -188,6 +188,7 @@ static void help_draw_global(ToxWindow *self)
|
|||||||
wprintw(win, " /log <on> or <off> : Enable/disable logging\n");
|
wprintw(win, " /log <on> or <off> : Enable/disable logging\n");
|
||||||
wprintw(win, " /conference <type> : Create a conference where type: text | audio\n");
|
wprintw(win, " /conference <type> : Create a conference where type: text | audio\n");
|
||||||
wprintw(win, " /myid : Print your Tox ID\n");
|
wprintw(win, " /myid : Print your Tox ID\n");
|
||||||
|
wprintw(win, " /group <name> : Create a new group chat\n");
|
||||||
#ifdef GAMES
|
#ifdef GAMES
|
||||||
wprintw(win, " /game : Play a game\n");
|
wprintw(win, " /game : Play a game\n");
|
||||||
#endif /* GAMES */
|
#endif /* GAMES */
|
||||||
|
Loading…
Reference in New Issue
Block a user