Skip to content

$randomChannelID

$randomChannelID will return a random channel ID of all guilds or of a specific guild.

Usage

$randomChannelID[guildID/global?;type?]

Parameters

FieldTypeDescriptionRequired
guildID/global?numberGuild ID or global search.false
type?stringChannel type.false
Channel Types
Channel Type
Text Channel Text
Voice Channel Voice
Category Category
Stage Channel Stage
Private Thread PrivateThread
Public Thread PublicThread
Forum Forum
Announcement Thread AnnouncementThread
Announcement Channel Announcement
Home GuildDirectory
NSFW Channel NSFW
Direct Message DM
All Channel Types all

Example(s)

This will return a random channel ID of your guild:

1
client.command({
2
name: "randomChannelID",
3
code: `
4
<#$randomChannelID[$guildID;all]>
5
`
6
});