Skip to content

$mentionedChannelsCount

$mentionedChannelsCount will return the amount of channel mentions within a message.

Usage

$mentionedChannelsCount

Example(s)

This will return the amount of channel mentions in the given text:

1
client.command({
2
name: "mentionedChannelsCount",
3
code: `
4
$mentionedChannelsCount
5
<#837531672341381190> <#869210515065426012> <#805852932938661900>
6
`
7
});