docsFunctionsPermissionsZonlyForChannels

ZonlyForChannels

Halts execution unless the current channel matches one of the specified channel IDs.

Syntax

ZonlyForChannels{channelID;...;errorMessage?}

Arguments

NameTypeRequiredDefault
channelIDsnowflakeYes-
errorMessagestringNoThis command can only be used in specific channels.

Example

ZonlyForChannels{123456789012345678;987654321012345678}