Skip to content

Commit

Permalink
Improve documentation for setTopic
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsOnlyBinary committed Aug 21, 2024
1 parent 664935c commit 39df6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/clientapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ Join a channel, optionally with a key/password.
Part/leave a channel with an optional parting message.

##### `.setTopic(channel, newTopic)`
Set the topic of a channel
Set the topic of a channel, if newTopic is falsy or only whitespace then `.clearTopic()` will be called.

##### `.clearTopic(channel)`
Remove the topic of a channel
Remove the topic of a channel.

##### `.ctcpRequest(target, type [, paramN])`
Send a CTCP request to target with any number of parameters.
Expand Down

0 comments on commit 39df6b1

Please sign in to comment.