]> jfr.im git - irc/unrealircd/unrealircd-rpc-php.git/commit - lib/User.php
Add all the new RPC calls in 6.0.6-git at the moment:
authorBram Matthys <redacted>
Sat, 7 Jan 2023 18:42:05 +0000 (19:42 +0100)
committerBram Matthys <redacted>
Sat, 7 Jan 2023 18:42:05 +0000 (19:42 +0100)
commite25853aa4579e0fcbca120740be6a0538d58f63b
tree94969603ca55ea5f06e913393ac89ebff4a2a997
parent93f8a3ee8d1ab65e34e8f551d0018db8961955f8
Add all the new RPC calls in 6.0.6-git at the moment:

== channel ==
public function set_mode(string $channel, string $modes, string $parameters): stdClass|array|bool
public function set_topic(string $channel, string $topic,
                          string $set_by=null, string $set_at=null): stdClass|array|bool
public function kick(string $channel, string $nick, string $reason): stdClass|array|bool
See also https://www.unrealircd.org/docs/JSON-RPC:Channel

== user ==
public function set_nick(string $nick, string $newnick): stdClass|array|bool
public function set_username(string $nick, string $username): stdClass|array|bool
public function set_realname(string $nick, string $realname): stdClass|array|bool
public function set_vhost(string $nick, string $vhost): stdClass|array|bool
public function set_mode(string $nick, string $mode, bool $hidden = false): stdClass|array|bool
public function set_snomask(string $nick, string $snomask, bool $hidden = false): stdClass|array|bool
public function set_oper(string $nick, string $oper_account, string $oper_class,
                         string $class = null, string $modes = null,
                         string $snomask = null, string $vhost = null): stdClass|array|bool
public function join(string $nick, string $channel,
                     string $key = null, bool $force = false): stdClass|array|bool
public function part(string $nick, string $channel, bool $force = false): stdClass|array|bool
public function quit(string $nick, string $reason): stdClass|array|bool
public function kill(string $nick, string $reason): stdClass|array|bool
See also https://www.unrealircd.org/docs/JSON-RPC:User
lib/Channel.php
lib/User.php