Add user command support for sending private messages.
Can send to either the currently selected user (the %[userSID] keyword substitution) or a given SID. To make the latter useful (e.g, for commands sent to a bot) support for static SIDs is needed.
This commit is contained in:
@@ -200,6 +200,7 @@ void plugin_register_callback_functions(struct plugin_handle* handle)
|
||||
handle->hub.set_description = cbfunc_set_hub_description;
|
||||
handle->hub.ucmd_create = cbfunc_ucmd_create;
|
||||
handle->hub.ucmd_add_chat = cbfunc_ucmd_add_chat;
|
||||
handle->hub.ucmd_add_pm = cbfunc_ucmd_add_pm;
|
||||
handle->hub.ucmd_send = cbfunc_ucmd_send;
|
||||
handle->hub.ucmd_free = cbfunc_ucmd_free;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user