New Dropdown (Expression) — DiSky
Addon: DiSky · Category: Expression · Since: 4.6.0
Syntax
[a] [new] [string] [disabled] drop[( |-)]down [with] [the] [id] %string%Description
Create a new dropdown menu with different properties. There's two type of dropdown available: - String, only text values are accepted & pre-defined - Entity, only the specified entity type (role, channel and/or user) are accepted Therefore, you cannot add user, channel or role to a string dropdown and vice-versa. For entity dropdown, you can accept each type independently, or mix roles & users. :warning: YOU CANNOT MIX CHANNELS WITH ROLES OR USERS!
Examples
new dropdown with id "string" # Default string dropdown
new entity dropdown with id "entities" targeting "user" and "role" # Only user and role are accepted
new entity dropdown with id "channels" targeting "channel" # Only channel are accepted