update lua mod readme

This commit is contained in:
Aaron Blakely 2024-03-02 02:16:58 -06:00
parent d7b82df673
commit 387ce7338f

View File

@ -2,35 +2,35 @@
## Lua Commands ## Lua Commands
### `raw`(`message`: string) ### `raw(message)`
Sends a raw message to the server. Sends a raw message to the server.
### `privmsg`(`to`: string, `message`: string) ### `privmsg(to, message)`
Sends a message to a channel or user. Sends a message to a channel or user.
### `notice`(`to`: string, `message`: string) ### `notice(to, message)`
Sends a notice to a channel or user. Sends a notice to a channel or user.
### `join`(`channel`: string) ### `join(channel)`
Joins a channel. Joins a channel.
### `part`(`channel`: string) ### `part(channel, reason)`
Leaves a channel. Leaves a channel.
### `kick`(`channel`: string, `user`: string, `reason`: string) ### `kick(channel, user, reason)`
Kicks a user from a channel. Reason is optional. Kicks a user from a channel. Reason is optional.
### `mode`(`channel`: string, `mode`: string, `target`: string) ### `mode(channel, mode, target)`
Sets a mode on a channel. Sets a mode on a channel.
### `ctcp`(`to`: string, `message`: string) ### `ctcp(to, message)`
Sends a CTCP message to a channel or user. Sends a CTCP message to a channel or user.