Skip to content

Variable Blocks

MILO123PRO edited this page May 16, 2024 · 1 revision

Currently there are 11 variables:

  1. Author's Avatar
  2. Author's banner
  3. Author's Guild Avatar
  4. Author's ID
  5. Author's Info
  6. Author's username
  7. command
  8. Command's Channel ID
  9. DM to ID: ( )
  10. message
  11. New Line
  12. List roles on Guild ID: ( ) Array? < >

Author's Avatar

block_16_5_2024-22_59_14

This block will return the Author of the command's Profile Picture URL.

Example:

image

Author's banner

block_16_5_2024-23_00_37

This block will return the Author of the command's Banner URL.

Example:

image

Author's Guild Avatar

block_16_5_2024-23_02_17

This block will return the Author of the command's Custom Server Profile Picture URL.

If the user does not have a custom profile picture in the server where the command was ran it will return the user's actual profile picture.

Example:

image

Author's ID

block_16_5_2024-23_08_26

This block will return the Author of the command's ID.

Example:

image

Author's Info

block_16_5_2024-23_10_51

This block will return the Author of the command's user info in JSON format.

Example:

image

Author's username

block_16_5_2024-23_12_20

This block will return the Author of the command's username.

Example:

image

command

block_16_5_2024-23_14_29

This block will return the command that was executed.

Example:

image

Command's Channel ID

block_16_5_2024-23_16_13

This block will return the channel id where the command was executed.

Example:

image

DM to ID: ( )

block_16_5_2024-23_17_36

This block will take the input (a user's ID) and will return the channel ID for sending a DM to the user specified.

Example:

image

message

block_16_5_2024-23_20_47

This block will return all the content after the command, in the example, the message that was sent was "!echo hello".

Example:

image

New Line

block_16_5_2024-23_21_59

This block isnt made to return something, its made to be used in join blocks to make new lines as you can see in the example.

Example:

image

List roles on Guild ID: ( ) Array? < >

block_16_5_2024-23_30_13

Examples:

Array: False

image

Array: True

image