Discord ID (Expression) — DiSky

Addon: DiSky · Category: Expression

Syntax

[the] discord id of %channel/role/user/threadchannel/scheduledevent/member/sticker/message/dropdown/button/guild/applicationinfo/webhook/newcomponent/pollanswer%

Description

Get the unique long value (ID) that represent a discord entity. For poll answers, this is the 1-indexed position of the answer within its poll (first answer is 1). Returns null for poll answers built locally (e.g. via 'new poll answer with content ...') as the ID is only assigned by Discord once the poll has been sent.

Examples

discord id of event-channel
discord id of event-guild
discord id of {_pollAnswer}

View source