Name | <FlaggableObject.flag[<flag_name>]> |
Returns | ObjectTag |
Description | Returns the specified flag from the flaggable object.
If the flag is expired, will return null. Consider also using FlaggableObject.has_flag. See flag system. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/flags/AbstractFlagTracker.java#L37 |
Name | <FlaggableObject.flag_expiration[<flag_name>]> |
Returns | TimeTag |
Description | Returns a TimeTag indicating when the specified flag will expire.
See flag system. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/flags/AbstractFlagTracker.java#L71 |
Name | <FlaggableObject.flag_map[<name>|...]> |
Returns | MapTag |
Description | Returns a raw map of the objects internal flag data for the flags with the given flag name. Names must be root names (no '.').
Output is a MapTag wherein each key is a flag name, and each value is a MapTag, containing keys '__value' and '__expiration', where '__value' contains the real object value. Output also may contain key '__clear', which is a ListTag of flags that were listed in input but weren't present in output. Using this without a parameter to get ALL flags is allowed exclusively for debug/testing reasons, and should never be used in a real script. See flag system. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/flags/AbstractFlagTracker.java#L104 |
Name | <FlaggableObject.has_flag[<flag_name>]> |
Returns | ElementTag(Boolean) |
Description | Returns true if the flaggable object has the specified flag, otherwise returns false.
See flag system. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/flags/AbstractFlagTracker.java#L55 |
Name | <FlaggableObject.list_flags> |
Returns | ListTag |
Description | Returns a list of the flaggable object's flags.
Note that this is exclusively for debug/testing reasons, and should never be used in a real script. See flag system. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/flags/AbstractFlagTracker.java#L87 |
Name | <discord[<bot-id>]> |
Returns | DiscordBotTag |
Description | Returns the Discord bot for the given bot ID. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L117 |
Name | <discord_bots> |
Returns | ListTag(DiscordBotTag) |
Description | Returns a list of all Discord bots currently loaded in dDiscordBot. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L102 |
Name | <discord_button[(<button>)]> |
Returns | DiscordButtonTag |
Description | Returns a blank DiscordButtonTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord Button object constructed from the input value. Refer to DiscordButtonTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L132 |
Name | <discord_channel[<channel>]> |
Returns | DiscordChannelTag |
Description | Returns a Discord Channel object constructed from the input value.
Refer to DiscordChannelTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L148 |
Name | <discord_command[<command>]> |
Returns | DiscordCommandTag |
Description | Returns a Discord Command object constructed from the input value.
Refer to DiscordCommandTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L164 |
Name | <discord_embed[(<embed>)]> |
Returns | DiscordEmbedTag |
Description | Returns a blank DiscordEmbedTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord Embed object constructed from the input value. Refer to DiscordEmbedTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L180 |
Name | <discord_group[<group>]> |
Returns | DiscordGroupTag |
Description | Returns a Discord Group object constructed from the input value.
Refer to DiscordGroupTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L196 |
Name | <discord_interaction[<interaction>]> |
Returns | DiscordInteractionTag |
Description | Returns a Discord Interaction object constructed from the input value.
Refer to DiscordInteractionTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L212 |
Name | <discord_message[<message>]> |
Returns | DiscordMessageTag |
Description | Returns a Discord Message object constructed from the input value.
Refer to DiscordMessageTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L228 |
Name | <discord_reaction[<reaction>]> |
Returns | DiscordReactionTag |
Description | Returns a Discord Reaction object constructed from the input value.
Refer to DiscordReactionTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L244 |
Name | <discord_role[<role>]> |
Returns | DiscordRoleTag |
Description | Returns a Discord Role object constructed from the input value.
Refer to DiscordRoleTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L260 |
Name | <discord_selection[(<menu>)]> |
Returns | DiscordSelectionTag |
Description | Returns a blank DiscordSelectionTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord Selection object constructed from the input value. Refer to DiscordSelectionTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L276 |
Name | <discord_text_input[(<button>)]> |
Returns | DiscordTextInputTag |
Description | Returns a blank DiscordTextInputTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord TextInput object constructed from the input value. Refer to DiscordTextInputTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L292 |
Name | <discord_user[<user>]> |
Returns | DiscordUserTag |
Description | Returns a Discord User object constructed from the input value.
Refer to DiscordUserTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L308 |
Name | <DiscordBotTag.command[<name>]> |
Returns | DiscordCommandTag |
Description | Returns the application command that best matches the input name, or null if there's no match. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordBotTag.java#L194 |
Name | <DiscordBotTag.commands> |
Returns | ListTag(DiscordCommandTag) |
Description | Returns a list of all application commands. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordBotTag.java#L141 |
Name | <DiscordBotTag.group[<name>]> |
Returns | DiscordGroupTag |
Description | Returns the Discord group (aka 'guild' or 'server') that best matches the input name, or null if there's no match. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordBotTag.java#L160 |
Name | <DiscordBotTag.groups> |
Returns | ListTag(DiscordGroupTag) |
Description | Returns a list of all groups (aka 'guilds' or 'servers') that this Discord bot has access to. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordBotTag.java#L122 |
Name | <DiscordBotTag.name> |
Returns | ElementTag |
Description | Returns the name of the bot. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordBotTag.java#L94 |
Name | <DiscordBotTag.self_user> |
Returns | DiscordUserTag |
Description | Returns the bot's own Discord user object. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordBotTag.java#L106 |
Name | <DiscordButtonTag.map> |
Returns | MapTag |
Description | Returns the MapTag internally backing this button tag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordButtonTag.java#L169 |
Name | <DiscordButtonTag.with_map[<map>]> |
Returns | DiscordButtonTag |
Description | Returns a copy of this Button tag, with the map of keys to values applied.
Refer to DiscordButtonTag.with.as. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordButtonTag.java#L101 |
Name | <DiscordButtonTag.with[<key>].as[<value>]> |
Returns | DiscordButtonTag |
Description | Returns a copy of this Button tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type: style: ElementTag of either primary, secondary, success, danger, or link id: ElementTag, can be a URL label: ElementTag disabled: ElementTag(Boolean) emoji: ElementTag |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordButtonTag.java#L132 |
Name | <DiscordChannelTag.active_threads> |
Returns | ListTag(DiscordChannelTag) |
Description | Returns the list of all current (non-archived) thread channels inside this text channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L282 |
Name | <DiscordChannelTag.archived_threads> |
Returns | ListTag(DiscordChannelTag) |
Description | Returns the list of all archived thread channels inside this text channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L304 |
Name | <DiscordChannelTag.channel_type> |
Returns | ElementTag |
Description | Returns the type of the channel.
Will be any of: TEXT, PRIVATE, VOICE, GROUP, CATEGORY, NEWS, STAGE, GUILD_NEWS_THREAD, GUILD_PUBLIC_THREAD, GUILD_PRIVATE_THREAD, FORUM, or UNKNOWN. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L155 |
Name | <DiscordChannelTag.connected_users> |
Returns | ListTag(DiscordUserTag) |
Description | If the channel is a voice channel, returns the users connected to it. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L411 |
Name | <DiscordChannelTag.first_message> |
Returns | DiscordMessageTag |
Description | Returns the first message sent in the channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L375 |
Name | <DiscordChannelTag.group> |
Returns | DiscordGroupTag |
Description | Returns the group that owns this channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L337 |
Name | <DiscordChannelTag.id> |
Returns | ElementTag(Number) |
Description | Returns the ID number of the channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L167 |
Name | <DiscordChannelTag.is_thread> |
Returns | ElementTag(Boolean) |
Description | Returns true if the channel is a thread, or false if it is some other type of channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L215 |
Name | <DiscordChannelTag.is_thread_archived> |
Returns | ElementTag(Boolean) |
Mechanism | DiscordChannelTag.is_thread_archived |
Description | Returns true if the thread is archived, or false if it is still open.
Only applicable to thread-channels. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L226 |
Name | <DiscordChannelTag.is_thread_locked> |
Returns | ElementTag(Boolean) |
Mechanism | DiscordChannelTag.is_thread_locked |
Description | Returns true if the thread is locked (cannot be pulled from archive).
Only applicable to thread-channels. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L244 |
Name | <DiscordChannelTag.last_message> |
Returns | DiscordMessageTag |
Description | Returns the last message sent in the channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L391 |
Name | <DiscordChannelTag.mention> |
Returns | ElementTag |
Description | Returns the raw mention string for the channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L326 |
Name | <DiscordChannelTag.name> |
Returns | ElementTag |
Mechanism | DiscordChannelTag.name |
Description | Returns the name of the channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L143 |
Name | <DiscordChannelTag.parent> |
Returns | DiscordChannelTag |
Description | Returns the parent channel of this thread channel (if this channel is a thread). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L178 |
Name | <DiscordChannelTag.pinned_messages> |
Returns | ListTag(DiscordMessageTag) |
Description | Returns a list of the messages that are pinned in the channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L356 |
Name | <DiscordChannelTag.thread_members> |
Returns | ListTag(DiscordUserTag) |
Description | Returns the list of users joined into this thread channel (if this channel is a thread). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L195 |
Name | <DiscordChannelTag.threads> |
Returns | ListTag(DiscordChannelTag) |
Description | Returns the list of all (archived or not) thread channels inside this text channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L262 |
Name | <DiscordChannelTag.topic> |
Returns | ElementTag |
Mechanism | DiscordChannelTag.topic |
Description | Returns the topic for this channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L432 |
Name | <DiscordCommandTag.description> |
Returns | ElementTag |
Description | Returns the description of the command. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordCommandTag.java#L199 |
Name | <DiscordCommandTag.id> |
Returns | ElementTag(Number) |
Description | Returns the ID of the command. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordCommandTag.java#L177 |
Name | <DiscordCommandTag.name> |
Returns | ElementTag |
Description | Returns the name of the command. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordCommandTag.java#L188 |
Name | <DiscordCommandTag.options> |
Returns | ListTag(MapTag) |
Description | Returns the option MapTags of the command. This is the same value as the one provided when creating a command, as documented in DiscordCommand. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordCommandTag.java#L210 |
Name | <DiscordEmbedTag.add_field[<title>].value[<value>]> |
Returns | DiscordEmbedTag |
Description | Returns a copy of this Embed tag, with a field added with the given title and value. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordEmbedTag.java#L310 |
Name | <DiscordEmbedTag.add_inline_field[<title>].value[<value>]> |
Returns | DiscordEmbedTag |
Description | Returns a copy of this Embed tag, with an inline field added with the given title and value. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordEmbedTag.java#L341 |
Name | <DiscordEmbedTag.map> |
Returns | MapTag |
Description | Returns the MapTag internally backing this embed tag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordEmbedTag.java#L299 |
Name | <DiscordEmbedTag.output_length> |
Returns | ElementTag(Number) |
Description | Returns the total number of displayed characters this embed contains.
Discord rejects embeds with a total character count above 6000. There are other limits for embed objects, refer to https://discordjs.guide/popular-topics/embeds.html#embed-limits |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordEmbedTag.java#L373 |
Name | <DiscordEmbedTag.to_json> |
Returns | ElementTag |
Description | Returns the raw Discord-API-compatible JSON text of this embed. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordEmbedTag.java#L387 |
Name | <DiscordEmbedTag.with_map[<map>]> |
Returns | DiscordEmbedTag |
Description | Returns a copy of this Embed tag, with the map of keys to values applied.
Refer to DiscordEmbedTag.with.as. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordEmbedTag.java#L210 |
Name | <DiscordEmbedTag.with[<key>].as[<value>]> |
Returns | DiscordEmbedTag |
Description | Returns a copy of this Embed tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type: author_name: ElementTag author_url: ElementTag of a URL (requires author_name set) author_icon_url: ElementTag of a URL (requires author_name set) color: ColorTag description: ElementTag footer: ElementTag footer_icon: ElementTag of a URL (requires footer set) image: ElementTag of a URL thumbnail: ElementTag of a URL timestamp: TimeTag title: ElementTag title_url: ElementTag of a URL (requires title set) fields: generally don't use directly, but can be set to a list of maps wherein each sub-map has keys "title", "value", and "inline" (boolean) For fields, instead prefer DiscordEmbedTag.add_field.value and DiscordEmbedTag.add_inline_field.value. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordEmbedTag.java#L247 |
Name | <DiscordGroupTag.banned_members> |
Returns | ListTag(DiscordUserTag) |
Description | Returns a list of all banned users in the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L192 |
Name | <DiscordGroupTag.channel[<name>]> |
Returns | DiscordChannelTag |
Description | Returns the channel that best matches the input name, or null if there's no match. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L269 |
Name | <DiscordGroupTag.channels> |
Returns | ListTag(DiscordChannelTag) |
Description | Returns a list of all channels in the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L162 |
Name | <DiscordGroupTag.command[<name>]> |
Returns | DiscordCommandTag |
Description | Returns the guild command that best matches the input name, or null if there's no match. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L327 |
Name | <DiscordGroupTag.commands> |
Returns | ListTag(DiscordCommandTag) |
Description | Returns a list of all commands in the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L222 |
Name | <DiscordGroupTag.emoji_id[<name>]> |
Returns | ElementTag |
Description | Returns the ID of the emoji that best matches the input name, or null if there's no match. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L371 |
Name | <DiscordGroupTag.emoji_names> |
Returns | ListTag |
Description | Returns a list of emoji names in the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L356 |
Name | <DiscordGroupTag.id> |
Returns | ElementTag(Number) |
Description | Returns the ID number of the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L151 |
Name | <DiscordGroupTag.member[<name>]> |
Returns | DiscordUserTag |
Description | Returns the group member that best matches the input name, or null if there's no match.
For input of username#id, will always only match for the exact user. For input of only the username, return value might be unexpected if multiple members have the same username (this happens more often than you might expect - many users accidentally join new Discord groups from the web on a temporary web account, then rejoin on a local client with their 'real' account). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L237 |
Name | <DiscordGroupTag.members> |
Returns | ListTag(DiscordUserTag) |
Description | Returns a list of all users in the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L177 |
Name | <DiscordGroupTag.name> |
Returns | ElementTag |
Description | Returns the name of the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L140 |
Name | <DiscordGroupTag.role[<name>]> |
Returns | DiscordRoleTag |
Description | Returns the role that best matches the input name, or null if there's no match. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L298 |
Name | <DiscordGroupTag.roles> |
Returns | ListTag(DiscordRoleTag) |
Description | Returns a list of all roles in the group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L207 |
Name | <DiscordGroupTag.users_with_roles[<role>|...]> |
Returns | ListTag(DiscordUserTag) |
Description | Returns a list of all users in the group who have all the specified roles. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordGroupTag.java#L400 |
Name | <DiscordInteractionTag.channel> |
Returns | DiscordChannelTag |
Description | Returns the channel that the interaction was created in. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordInteractionTag.java#L168 |
Name | <DiscordInteractionTag.id> |
Returns | ElementTag(Number) |
Description | Returns the ID of the interaction. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordInteractionTag.java#L157 |
Name | <DiscordInteractionTag.is_direct> |
Returns | ElementTag(Boolean) |
Description | Returns true if the interaction was sent in a direct (private) channel, or false if in a public channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordInteractionTag.java#L179 |
Name | <DiscordInteractionTag.target_message> |
Returns | DiscordMessageTag |
Description | Returns the message being targeted by a MESSAGE application interaction. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordInteractionTag.java#L216 |
Name | <DiscordInteractionTag.target_user> |
Returns | DiscordUserTag |
Description | Returns the user being targeted by a USER application interaction. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordInteractionTag.java#L202 |
Name | <DiscordInteractionTag.user> |
Returns | DiscordUserTag |
Description | Returns the user of the interaction. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordInteractionTag.java#L191 |
Name | <DiscordMessageTag.attachments> |
Returns | ListTag |
Description | Returns a list of attachment URLs for this message. Most messages will return an empty list, or a single-entry list,
however it is possible in some cases for a single message to have multiple attachments. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L425 |
Name | <DiscordMessageTag.author> |
Returns | DiscordUserTag |
Description | Returns the author of the message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L283 |
Name | <DiscordMessageTag.channel> |
Returns | DiscordChannelTag |
Description | Returns the channel that the message was sent to. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L228 |
Name | <DiscordMessageTag.embed> |
Returns | ListTag(DiscordEmbedTag) |
Description | Returns a list of "embed" formatted data on this message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L343 |
Name | <DiscordMessageTag.id> |
Returns | ElementTag(Number) |
Description | Returns the ID of the message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L203 |
Name | <DiscordMessageTag.is_direct> |
Returns | ElementTag(Boolean) |
Description | Returns true if the message was sent in a direct (private) channel, or false if in a public channel. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L332 |
Name | <DiscordMessageTag.is_pinned> |
Returns | ElementTag(Boolean) |
Mechanism | DiscordMessageTag.is_pinned |
Description | Returns whether this message is pinned. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L305 |
Name | <DiscordMessageTag.mentioned_users> |
Returns | ListTag(DiscordUserTag) |
Description | Returns a list of users mentioned (pinged) by this message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L317 |
Name | <DiscordMessageTag.next_messages[<#>]> |
Returns | ListTag(DiscordMessageTag) |
Description | Returns a list of the next (specified number) messages sent in the channel after this message.
The list is ordered from most recent to least recent. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L391 |
Name | <DiscordMessageTag.previous_messages[<#>]> |
Returns | ListTag(DiscordMessageTag) |
Description | Returns a list of the last (specified number) messages sent in the channel prior to this message.
The list is ordered from most recent to least recent. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L373 |
Name | <DiscordMessageTag.reactions> |
Returns | ListTag |
Description | Returns a list of reaction on this message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L358 |
Name | <DiscordMessageTag.replied_to> |
Returns | DiscordMessageTag |
Description | Returns the message that this message was in reply to (if any). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L409 |
Name | <DiscordMessageTag.text> |
Returns | ElementTag |
Description | Returns the full text of the message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L239 |
Name | <DiscordMessageTag.text_display> |
Returns | ElementTag |
Description | Returns the display text of the message (special codes like pings formatted to how they should look for users). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L261 |
Name | <DiscordMessageTag.text_no_mentions> |
Returns | ElementTag |
Description | Returns the text of the message, with '@' mentions removed. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L272 |
Name | <DiscordMessageTag.text_stripped> |
Returns | ElementTag |
Description | Returns the stripped text of the message (format codes like bold removed). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L250 |
Name | <DiscordMessageTag.url> |
Returns | ElementTag |
Description | Returns the full jump URL to this message.
This returns link text that looks something like "https://discord.com/channels/315163488085475337/315163488085475337/980909305589026906" Where the URL is Discord's webserver, followed by Group ID, Channel ID, then Message ID. DM messages follow a slightly different but very similar format. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L214 |
Name | <DiscordMessageTag.was_edited> |
Returns | ElementTag(Boolean) |
Description | Returns whether this message was edited. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L294 |
Name | <DiscordReactionTag.count> |
Returns | ElementTag(Number) |
Description | Returns the amount of times this reaction exists on the message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordReactionTag.java#L228 |
Name | <DiscordReactionTag.id> |
Returns | ElementTag |
Description | Returns the ID of the reaction emote.
For custom emoji, this is a numeric ID. For default emoji, this is the unicode symbol. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordReactionTag.java#L200 |
Name | <DiscordReactionTag.is_animated> |
Returns | ElementTag |
Description | Returns whether the emote reacted is animated (an "animoji"). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordReactionTag.java#L253 |
Name | <DiscordReactionTag.message> |
Returns | DiscordMessageTag |
Description | Returns the message this reaction is attached to. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordReactionTag.java#L212 |
Name | <DiscordReactionTag.name> |
Returns | ElementTag |
Description | Returns the name of the emoji. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordReactionTag.java#L242 |
Name | <DiscordReactionTag.reactors> |
Returns | ListTag(DiscordUserTag) |
Description | Returns the list of users that added this reaction to the message. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordReactionTag.java#L264 |
Name | <DiscordRoleTag.color> |
Returns | ColorTag |
Mechanism | DiscordRoleTag.color |
Description | Returns the display color of the role, if any. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L212 |
Name | <DiscordRoleTag.group> |
Returns | DiscordGroupTag |
Description | Returns the group that owns this role. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L201 |
Name | <DiscordRoleTag.id> |
Returns | ElementTag(Number) |
Description | Returns the ID number of the role. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L179 |
Name | <DiscordRoleTag.mention> |
Returns | ElementTag |
Description | Returns the raw mention string of the role. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L190 |
Name | <DiscordRoleTag.name> |
Returns | ElementTag |
Description | Returns the name of the role. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L168 |
Name | <DiscordRoleTag.permissions> |
Returns | ListTag |
Description | Returns a list of permissions that the role provides for users. You can get a list of possible outputs here: https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/Permission.html |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L243 |
Name | <DiscordRoleTag.users> |
Returns | ListTag(DiscordUserTag) |
Description | Returns a list of all users with this role. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L228 |
Name | <DiscordSelectionTag.map> |
Returns | MapTag |
Description | Returns the MapTag internally backing this selection tag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordSelectionTag.java#L222 |
Name | <DiscordSelectionTag.with_map[<map>]> |
Returns | DiscordSelectionTag |
Description | Returns a copy of this Selection tag, with the map of keys to values applied.
Refer to DiscordSelectionTag.with.as. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordSelectionTag.java#L152 |
Name | <DiscordSelectionTag.with[<key>].as[<value>]> |
Returns | DiscordSelectionTag |
Description | Returns a copy of this Selection tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type: id: ElementTag placeholder: ElementTag options: MapTag where the values are also a MapTag consisting of: - label: ElementTag - value: ElementTag - description: ElementTag - emoji: ElementTag |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordSelectionTag.java#L183 |
Name | <DiscordTextInputTag.map> |
Returns | MapTag |
Description | Returns the MapTag internally backing this text input tag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordTextInputTag.java#L193 |
Name | <DiscordTextInputTag.with_map[<map>]> |
Returns | DiscordTextInputTag |
Description | Returns a copy of this TextInput tag, with the map of keys to values applied.
Refer to DiscordTextInputTag.with.as. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordTextInputTag.java#L122 |
Name | <DiscordTextInputTag.with[<key>].as[<value>]> |
Returns | DiscordTextInputTag |
Description | Returns a copy of this TextInput tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type: style: short or paragraph id: ElementTag label: ElementTag min_length: ElementTag(Number) max_length: ElementTag(Number) is_required: ElementTag(Boolean) value: ElementTag placeholder: ElementTag |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordTextInputTag.java#L153 |
Name | <DiscordUserTag.activity_name[<group>]> |
Returns | ElementTag |
Description | Returns the name of the activity of the user, as seen from the given group.
Not present for all users. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L361 |
Name | <DiscordUserTag.activity_type[<group>]> |
Returns | ElementTag |
Description | Returns the activity type of the user, as seen from the given group.
Can be any of: DEFAULT, STREAMING, LISTENING, WATCHING, CUSTOM_STATUS, COMPETING. Not present for all users. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L334 |
Name | <DiscordUserTag.activity_url[<group>]> |
Returns | ElementTag |
Description | Returns the stream URL of the activity of the user, as seen from the given group.
Not present for all users. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L387 |
Name | <DiscordUserTag.avatar_url> |
Returns | ElementTag |
Description | Returns the URL to the user's avatar. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L243 |
Name | <DiscordUserTag.discriminator> |
Returns | ElementTag |
Description | Returns the discriminator ID of the user. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L215 |
Name | <DiscordUserTag.display_name> |
Returns | ElementTag |
Description | Returns the global display name of the user, if any.
To obtain a server-specific display name, use DiscordUserTag.nickname. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L416 |
Name | <DiscordUserTag.id> |
Returns | ElementTag(Number) |
Description | Returns the ID number of the user. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L289 |
Name | <DiscordUserTag.is_banned[<group>]> |
Returns | ElementTag(boolean) |
Description | Returns whether the user is banned from a certain group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L480 |
Name | <DiscordUserTag.is_bot> |
Returns | ElementTag(Boolean) |
Description | Returns a boolean indicating whether the user is a bot. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L229 |
Name | <DiscordUserTag.is_in_group[<group>]> |
Returns | ElementTag(Boolean) |
Description | Returns true if the user exists and is recognized, or false if it can't be seen.
If this returns false, some usages of the object may still be valid. It may return false due to caching issues or because the user doesn't share a guild with the bot. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L197 |
Name | <DiscordUserTag.is_timed_out[<group>]> |
Returns | ElementTag(boolean) |
Description | Returns whether the user is timed out in a certain group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L502 |
Name | <DiscordUserTag.is_valid> |
Returns | ElementTag(Boolean) |
Description | Returns true if the user exists and is recognized, or false if it can't be seen.
If this returns false, some usages of the object may still be valid. It may return false due to caching issues or because the user doesn't share a guild with the bot. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L184 |
Name | <DiscordUserTag.mention> |
Returns | ElementTag |
Description | Returns the raw mention string for the user. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L301 |
Name | <DiscordUserTag.name> |
Returns | ElementTag |
Description | Returns the base username of the user. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L170 |
Name | <DiscordUserTag.nickname[<group>]> |
Returns | ElementTag |
Description | Returns the group-specific nickname of the user (if any). |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L257 |
Name | <DiscordUserTag.permissions[<group>]> |
Returns | ListTag |
Description | Returns a list of permissions that the user has in a certain group. You can get a list of possible outputs here: https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/Permission.html |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L455 |
Name | <DiscordUserTag.roles[<group>]> |
Returns | ListTag(DiscordRoleTag) |
Description | Returns a list of all roles the user has in the given group. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L432 |
Name | <DiscordUserTag.status[<group>]> |
Returns | ElementTag |
Description | Returns the status of the user, as seen from the given group.
Can be any of: online, dnd, idle, invisible, offline. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L312 |
Name | <ElementTag.discord_id_to_time> |
Returns | TimeTag |
Description | Returns the TimeTag converted from the given discord ID.
Discord IDs internally are just timestamps in a Discord-specific numeric format. |
Example |
|
Group | extensions |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/properties/DiscordElementTagExtensions.java#L11 |
Name | <TimeTag.format_discord[(<style>)]> |
Returns | ElementTag |
Description | Returns the time formatted for display on Discord, optionally using the specified style from https://discord.com/developers/docs/reference#message-formatting-timestamp-styles.
For example: <util.time_now.format_discord> or <util.time_now.format_discord[R]> Note that style input, if used, is case sensitive. |
Generated Example |
|
Group | extensions |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/properties/DiscordTimeTagExtensions.java#L10 |