- Preparing search index...
- The search index is not available
DJS-Bot
- channelLink<ChannelId>(channelId): `https://discord.com/channels/@me/${ChannelId}`
-
Returns `https://discord.com/channels/@me/${ChannelId}`
- channelLink<ChannelId, GuildId>(channelId, guildId): `https://discord.com/channels/${GuildId}/${ChannelId}`
-
Type Parameters
-
ChannelId extends string
-
GuildId extends string
Parameters
-
channelId: ChannelId
-
guildId: GuildId
Returns `https://discord.com/channels/${GuildId}/${ChannelId}`
Formats a channel link for a direct message channel.