Blocks

Blocks are the steps of a flow: send messages, manage members, store data, call APIs and more.

Advanced Messages

Auto Moderation

Channels

Databases

Emojis

Interactions

Invites

Logic

Math

Math Operations
Block
general_math_operations

Perform addition, subtraction, multiplication, division, modulo and exponent operations.

Math Operations (Float)
Block
float_math_operations

Perform addition, subtraction, multiplication, division, modulo and exponent operations with floating point numbers.

Round Number
Block
round_number

Round a number using a chosen method (round, floor, ceil, truncate) to a specified number of digits.

Absolute Value
Block
absolute_value_basic

Get the absolute value of a number.

Square Root
Block
square_root_basic

Get the square root (sqrt) of a number.

Logarithm
Block
logarithm_basic

Get the logarithm of a number with a specified base.

Factorial
Block
factorial_basic

Calculate the factorial of a number.

Random Number Generator
Block
random_number_generator_basic

Generate a random number using specified minimum and maximum values.

Passphrase Generator
Block
passphrase_generator

Generate a random passphrase with a specified number of words.

If Number is in Range
Condition
if_number_in_range

Check if a number is in a specified range.

If Number is Close to Other Number
Condition
if_number_close_to_other_number

Check if a number is close to another number within a specified tolerance.

If Value is Number
Condition
if_value_is_number

Check if a value is a number.

Hex to Int
Block
hex_to_int

Convert a hexadecimal number to an integer.

Int to Hex
Block
int_to_hex

Convert an integer to a hexadecimal number.

Percentage Math (Integer)
Block
percentage_math_integer

Add or subtract a percentage to/from an integer.

Percentage Math (Float)
Block
percentage_math_float

Add or subtract a percentage to/from a floating point number.

Messages

Send or Edit Text Message
send_text_message

Send or Edit a text-only message

Send TTS Message
send_tts_message

Send a text-to-speech message.

Send Advanced Message
send_advanced_message

Send a Components v2 message.

Send or Edit Embed Message
send_embed_message

Send or edit an embed message.

Get Message
get_discord_message

Fetch a single message by its ID from a channel.

Get Messages
Loop
get_discord_channel_messages

Fetch recent messages from a channel and iterate over them.

Search Server Messages
Loop
search_discord_guild_messages

Search a server's messages and iterate over the matched messages.

Get Pinned Messages
Loop
get_discord_pinned_messages

Fetch pinned messages from a channel and iterate over them.

Forward Message
forward_message

Forward a message into another channel.

Delete Message
delete_message

Delete a message by its ID from a channel.

Pin Message
pin_discord_message

Pin a message in a channel.

Unpin Message
unpin_discord_message

Unpin a message in a channel.

Publish Message
crosspost_message

Publish an announcement message to all channels following the announcement channel.

Suppress Message Embeds
remove_opengraph_embeds

Suppresses link preview embeds on a message by setting the SUPPRESS_EMBEDS flag.

Purge Messages
purge_discord_messages

Bulk-delete messages from a channel.

Poll Answer
poll_answer

A single answer option for a poll.

Send Poll
send_poll

Send a poll message in a channel.

End Poll
end_poll

Immediately end a poll on a message.

Get Poll Answer Voters
Loop
get_poll_answer_voters

Fetch users who voted for a specific poll answer and iterate over them.

Modals

Network

Reactions

Regex

Roles

Scheduled Event

Servers

Strings

String Length
string_length

Get the length of a string in characters and in bytes.

String Split List
string_split

Split a string into a list of strings with a delimiter.

Split String Iterator
Loop
split_string

Iterate over a string separated by a delimiter.

String Contains Count
Block
string_contains_count

Count the number of times a substring appears in a string.

String Replace
Block
string_replace

Replace a substring with a new substring within a string.

String to Lowercase
Block
string_to_lowercase

Convert a string to lowercase.

String to Uppercase
Block
string_to_uppercase

Convert a string to uppercase.

String Trim Prefix
Block
string_trim_prefix

Remove a prefix from a string.

String Trim Suffix
Block
string_trim_suffix

Remove a suffix from a string.

Truncate String
Block
string_truncate

Truncate a string to a certain length.

Base64 Encode
Block
base64_encode

Encode a string to Base64.

Base64 Decode
Block
base64_decode

Decode a Base64 string.

Format Number
Block
format_number

Format a number with commas.

Generate UUIDv4
Block
generate_uuid

Generate a UUIDv4 (fully-random).

Generate UUIDv7
Block
generate_uuid_v7

Generate a UUIDv7 (time-based).

Parse Color
Block
parse_color

Parse a color string (name or hex code) into a hex string.

URL Query Escape
Block
url_param_encode

Encode a string to be used as a URL parameter.

URL Query Unescape
Block
url_param_decode

Decode a string used as a URL parameter.

Bcrypt Hash String
Block
bcrypt_hash

Apply a one-way hash to a string using bcrypt.

Bcrypt Compare Hash
Block
bcrypt_compare_hash

Compare a string to a bcrypt hash.

Verify HMAC
Block
verify_hmac

Verify a message against an HMAC signature.

MD5 Hash
Block
md5_hash

Generate an MD5 hash of a string.

Sort Lines by Number Prefix or Suffix
Block
sort_lines_by_number_prefix

Sort lines of text by the number at the beginning or end of each line.

Truncate Split String List
truncate_split_string_list

Split a string into groups of a certain number of characters.

Truncate Split String Iterator
Loop
truncate_split_string_iterator

Iterate over a string by groups of a certain number of characters.

Scramble String
Block
scramble_string

Scramble the order of characters in a string.

Random String Generator
Block
random_string_generator

Generate a random string of a specified length using a chosen character set.

Repeat String
Block
string_repeat

Repeat a string a specified number of times.

Reverse String
Block
string_reverse

Reverse the characters of a string.

Reorder Comma Separated List
Block
reverse_comma_separated_list

Reorder the elements in a comma separated list.

Intersection of Comma Separated Lists
intersection_comma_separated_lists

Compare two comma separated lists and find items exclusive to each list and items common to both.

Remap String
remap_string

Remap or replace values in a string using a set of original-to-replacement pairs.

Get UUIDv7 Creation Time
decode_uuid_v7_time

Get the creation time of a UUIDv7.

Threads

Time

Users

Utilities

Webhooks