$isTextChannel
Returns whether or not a channel is a text channel.
'true' means the channel is a text channel, 'false' means it isn't.
Usage
$isTextChannel[channelID]
Breakdown
channelID
- The channel that the bot checks.
Example
bot.command({
type: "command",
name: "is-text",
code: `<#$mentionedChannels[1;yes]> Is Text Channel? $isTextChannel[$mentionedChannels[1;yes]]`
})
Last updated
Was this helpful?