TextChannel¶
extends ServerChannel
A text channel of a server.
Attributes¶
topic¶
The topic of the channel, a String.
Functions¶
setTopic(topic, callback)¶
Shortcut of
client.setChannelTopic(channel, topic, callback)
setNameAndTopic(name, topic, callback)¶
Shortcut of
client.setChannelNameAndTopic(channel, name, topic, callback)
sendMessage(content, options, callback)¶
Shortcut of
client.sendMessage(channel, content, options, callback)
Aliases send
sendTTSMessage(content, callback)¶
Shortcut of
client.sendTTSMessage(channel, content, callback)
Aliases sendTTS
sendFile(attachment, name, content, callback)¶
Shortcut of
client.sendFile(channel, attachment, name, content, callbasck)
See client.sendFile
startTyping(callback)¶
Shortcut of
client.startTyping(channel, callback)
stopTyping(callback)¶
Shortcut of
client.stopTyping(channel, callback)
See client.stopTyping
getLogs(limit, options, callback)¶
Shortcut of ``client.getChannelLogs(channel, limit, options, callback)
getMessage(messageID, callback)¶
Shortcut of
client.getMessage(channel, messageID, callback)