We found 51 matches for: discord

An overview of all discord blocks currently available, updated daily!

discord events: on interaction

Triggers the given function by every interaction

In-pins

flow
connection

Out-pins

flow
connection
Iterator
connection
interaction
id
custom id
type
user
is command
is button
is context menu
is select menu
discord message: reply message

Reply to a specific message.

In-pins

flow
connection
message
reply message
embed
components
Components to be shown.

Default:
[]

Out-pins

flow
connection
success
discord message: send in DM

Send discord message in dm of specific user.

In-pins

flow
connection
username
user id
message
options
embed
components
Components to be shown.

Default:
[]

Out-pins

flow
connection
message
error
discord interaction: follow up

Follow up to this interaction.

In-pins

flow
interaction
content
Content to be shown
ephemeral
Whether the reply should be ephemeral / only visible to the user.

Default:
false
embed
components


Default:
[]

Out-pins

flow
interaction
error
Error message from discord.
discord interaction: edit reply

Edits the reply to this interaction.

In-pins

flow
interaction
content
Content to be shown
ephemeral
Whether the reply should be ephemeral / only visible to the user.

Default:
false
embed
components


Default:
[]

Out-pins

flow
interaction
error
Error message from discord.
discord componemt: multiple

Combine multiple

In-pins

comps

Out-pins

comps
discord interaction: update

Update this interaction.

In-pins

flow
interaction
content
Content to be shown
components
Components to be shown.

Default:
[]

Out-pins

flow
interaction
error
Error message from discord.
discord component: select menu

Returns a base select menu (type 3).

In-pins

custom_id
a developer-defined identifier for the button, max 100 characters
options
max 25 options to be shown.
placeholder
custom placeholder text if nothing is selected, max 150 characters
min values
the minimum number of items that must be chosen; default 1, min 0, max 25

Default:
1
max values
the maximum number of items that can be chosen; default 1, max 25

Default:
1
disabled
whether the button is disabled

Default:
false

Out-pins

comps
discord component: action row

Returns a base action row (type 1).

In-pins

comps

Out-pins

comps
discord interaction: reply

Reply to this interaction.

In-pins

flow
interaction
content
Content to be shown
ephemeral
Whether the reply should be ephemeral / only visible to the user.

Default:
false
embed
components


Default:
[]

Out-pins

flow
interaction
error
Error message from discord.
discord: get member by id

gives you the user data based on the Discord id

In-pins

flow
connection
guild id
ID of server
member id
ID of user

Out-pins

flow
connection
user
success
error
discord member: timeout member

Timeout a member from your Discord server.

In-pins

flow
connection
guild id
ID of server
member id
ID of user
seconds
Seconds to timeout this user
reason
Reason of the timeout

Out-pins

flow
connection
success
error
discord member: kick member

Kicks member from your Discord server.

In-pins

flow
connection
guild id
ID of server
member id
ID of user to kick
reason
reason of kick

Out-pins

flow
connection
success
error
discord events: on message updated

Triggers the given function by every message updated (in selected channel or all channels)

In-pins

flow
connection
match: channel
the channel the message should be written in; e.g. general
match: prefix
what the message should start with; e.g. !

Out-pins

flow
connection
Iterator
connection
old message
new message
discord events: on message delete

Triggers the given function by every message deleted (in selected channel or all channels)

In-pins

flow
connection
match: channel
the channel the message should be written in; e.g. general
match: prefix
what the message should start with; e.g. !

Out-pins

flow
connection
Iterator
connection
message
discord embed: add file

Adds a file to the embed

In-pins

embed
file
URL to the remote file to be added.

Out-pins

embed
discord interaction: get options

Get the options of an interaction.

In-pins

flow
interaction

Out-pins

flow
interaction
options
All options returned, defined by name.
error
Error message from discord.
discord channel: send typing

Send typing indicator in channel.

In-pins

flow
connection
channel id
the discord channel ID

Out-pins

flow
connection
success
Returns true if message has been send
error
Returns the error in case success is false.
discord channel: set parent

Updates the channels parent.

In-pins

flow
connection
channel id
The discord channel ID
parent id
The discord parent category ID

Out-pins

flow
connection
success
Returns true if message has been send
error
Returns the error in case success is false.
discord: open connection

Opens bot based connection on your given token.

In-pins

flow
token
Discord Bot token to connect with
intents
Gateway Intents to be enabled (e.g. DirectMessages
partials
Partials to be enabled (e.g. Channel)

Out-pins

flow
connection
error
Error message from Discord Servers
discord channel: delete

Deletes the channel.

In-pins

flow
connection
channel id
The discord channel ID
reason
Reason for this modification

Out-pins

flow
connection
success
Returns true if message has been send
error
Returns the error in case success is false.
discord message: delete message

Deletes specific message.

In-pins

flow
connection
message

Out-pins

flow
connection
success
discord message: react to message

Discord react to message.

In-pins

flow
connection
current message
Message to add reaction to
react
Reaction to add

Out-pins

flow
connection
error
discord channel: get members

Get all members in given channel.

In-pins

flow
connection
channel
e.g. general

Out-pins

flow
connection
members
discord user: update presence

Updates the presence of given user.

In-pins

flow
connection
status
the status of the user
game name
FAF
type
type of activity currently doing

Out-pins

flow
connection
success
discord channel: purge messages

Removes the amount of messages you have given of selected channel (max 100)

In-pins

flow
connection
channel
name of channel
messages to remove
number of messages to remove

Out-pins

flow
connection
success
error
discord: close connection

closes the discord connection and your bot will go offline.

In-pins

flow
connection

Out-pins

flow
discord message: modify message

Update an discord message.

In-pins

flow
connection
current message
message
embed
components
Components to be shown.

Default:
[]

Out-pins

flow
connection
message
error
discord message: send in channel

Discord send message in specific channel.

In-pins

flow
connection
channel id
the discord channel ID
message
options
embed
components
Components to be shown.

Default:
[]

Out-pins

flow
connection
message
success
Returns true if message has been send
error
Returns the error in case success is false.
discord interaction: get values

Get the values of an interaction.

In-pins

flow
interaction

Out-pins

flow
interaction
values
All values returned.
error
Error message from discord.
discord webhook: send webhook

Send a message in an selected channel based on the Discord connection or webhook URL.

In-pins

flow
Webhook URL
The URL of the webhook (Discord -> channel -> webhook)
channel
e.g. general, does not work for webhooks
message
Message shown a part from the embed
embed

Out-pins

flow
connection
message
success
Returns true if message has been send
error
Returns the error in case success is false.
discord component: button

Returns a base button (type 2).

In-pins

style
one of button styles
label
text that appears on the button, max 80 characters
emoji
emoji to be shown next to the button
custom_id
a developer-defined identifier for the button, max 100 characters
url
a url for link-style buttons
disabled
whether the button is disabled

Default:
false

Out-pins

flow
comps
discord events: on guild remove

Triggers the given function by every person that leaves the server.

In-pins

flow
connection

Out-pins

flow
connection
Iterator
connection
member
discord events: on guild add

Triggers the given function by every joined preson

In-pins

flow
connection

Out-pins

flow
connection
Iterator
connection
member
discord member: remove role

Remove role from member.

In-pins

flow
connection
guild id
ID of server
member id
ID of user to ban
role id
ID of the role to remove

Out-pins

flow
connection
error
discord member: avatar URL

Get the avatar URL of a member.

In-pins

flow
connection
guild id
ID of server
member id
ID of user

Out-pins

flow
connection
avatar
discord member: add role

Add role to member.

In-pins

flow
connection
guild id
ID of server
member id
ID of user to ban
role id
ID of the role to add

Out-pins

flow
connection
error
discord member: unban member

Unbans member from your Discord server.

In-pins

flow
connection
guild id
ID of server
member id
ID of user

Out-pins

flow
connection
success
error
discord member: ban member

Bans member from your Discord server.

In-pins

flow
connection
guild id
ID of server
member id
ID of user to ban
member id
ID of user to ban
reason
reason of ban
days to delete
remove messages from given days ago, 0 = none

Out-pins

flow
connection
success
error
discord events: on message create

Triggers the given function by every message (in selected channel or all channels)

In-pins

flow
connection
match: channel
the channel the message should be written in; e.g. general
match: prefix
what the message should start with; e.g. !

Out-pins

flow
connection
Iterator
connection
message
discord embed: multiple

Combine multiple

In-pins

embed

Out-pins

embed
discord channel: get channel id by name

Gets the channel ID by name.

In-pins

flow
connection
channel

Out-pins

flow
connection
channel_id
Returns the discord channel ID
error
Returns the error in case success is false.
discord embed: embed

Add a full embed

In-pins

embed
color
color code used with discord (e.g. 39423)
title
title shown in embed
title url
url used when user clicks on the title
author name
name shown as author
author icon url
icon shown next to the author
author url
url used when user clicks on the author
description
description shown within the embed
thumbnail url
the url of the thumb to be show
fields
custom fields to shown within the embed. [{ name, value, inline(optional) }]
image url
the url of the image to show
footer text
the text shown in the footer
footer url
url used when used clicks on the icon in the footer

Out-pins

embed
discord channel: edit

Edits the channels settings.

Discord Documentation

In-pins

flow
connection
channel id
The discord channel ID
options
ChannelData in DiscordJS
reason
Reason for this modification

Out-pins

flow
connection
success
Returns true if message has been send
error
Returns the error in case success is false.
discord channel: set name

Updates the channels name.

In-pins

flow
connection
channel_id
The discord channel ID
name
new name

Out-pins

flow
connection
success
Returns true if message has been send
error
Returns the error in case success is false.
discord interaction: defer update

Defers update to this interaction.

In-pins

flow
interaction

Out-pins

flow
interaction
error
Error message from discord.
discord interaction: defer reply

Defers the reply to this interaction.

In-pins

flow
interaction
ephemeral
Whether the reply should be ephemeral / only visible to the user.

Default:
false

Out-pins

flow
interaction
error
Error message from discord.
discord message: send in all channels

Discord send message in all channels of the server.

In-pins

flow
connection
message
options

Out-pins

flow
connection
messages
success
Returns true if message has been send
error
Returns the error in case success is false.
discord user: update status

Update status of user

In-pins

flow
connection
status
the status of the user

Out-pins

flow
connection
success
discord events: on voice join

Triggers function when someone joins any voice channel.

In-pins

connection

Out-pins

connection
Iterator
connection
channel
username
user
discord events: on voice leave

Triggers function when someone leaves any voice channel.

In-pins

connection

Out-pins

connection
Iterator
connection
channel
username
user