Skip to content

$channelUsed

$channelUsed will return the channel ID of where the event was triggered.

Usage

$channelUsed

Example(s)

This will return the amount of roles of your guild:

You require onMessageDelete in your main file in order to use this example!

1
client.deletedCommand({
2
channel: "channelID",
3
code: `$userTag deleted a message in <#$channelUsed>!`
4
});