Communication
Discord
42min
the discord modules allow you to create, update, list, and/or delete channels, channel messages, reactions, and webhooks in your discord account to get started with discord, create an account at https //discordapp com/register https //discordapp com/register? according to discord https //support dev discord com/hc/en us/articles/4404772028055 message content privileged intent faq , message content will be categorized as privileged intent starting september 1, 2022 this means that users who have installed our verified bot on their discord server will not be able to use the following make modules with the bot watch channel messages list channel messages get a message users who installed the make verified bot to connect to the discord app on our platform will see the empty values of messages that the channel member sends for the fields, content , embeds , attachments , and components in the output the make verified bot is still able to receive the messages for the above modules under the following conditions messages the bot sends messages the bot receives in dms messages in which the bot is mentioned if you want to use the aforementioned modules, you can create a custom connection using a separate client id connect discord to make you can connect the discord app to make in two ways discord docid\ awpjckrh wbzof2uonygc discord docid\ awpjckrh wbzof2uonygc connect discord to make using oauth2 to connect your discord account to make, you need to create a server and channels login to your discord account and create a server enter the details of the server and click create go to make and open the discord module's create a connection dialog create discord connection png select the server created in step 1, allow the permissions for messages and channels, and click authorize connect discord to make png you have successfully connected the discord app and can now build make connect to discord using oauth2 and your own credentials to connect to discord, you need to create a developer account to obtain the bot token, client id, and client secret values by creating a custom application from your discord developer account log in to the discord developer account https //discord com/developers/ click create new application , enter a name for the application, and click create on the left menu, click oauth2 , add the following redirect uris, and click save changes https //www integromat com/oauth/cb/discord https //www make com/oauth/cb/discord in the client information section, copy the client id value to a safe place in the client secret field, click reset secret , accept the warning, and copy the secret value to a safe place on the left menu, click bot > add bot optional change the default name of the bot optional enable the privileged gateway intent settings if you want to receive full message content from all the modules click reset to generate the bot token, accept the alert, and copy the bot token to a safe place as you can see the token only once log in to your make, add a module from the discord app, click add next to the connection field, and click show advanced settings optional in the connection name field, enter a name for the connection in the bot token field, enter the token copied in step 7 in the client id and client secret fields, enter the values copied in step 4 in the respective fields, select the bot permissions, and click save select the server to which you connect confirm the access by clicking authorise you have successfully the discord bot to make and can now access messages content messages you can watch, list, retrieve, send, edit, and delete messages with the following modules watch channel messages triggers when a new message is posted to the channel connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose message you want to watch limit the maximum number of channel messages make should return during one make execution cycle list channel messages returns the message for the channel connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose messages you want to list limit the maximum number of messages make should return during one make execution cycle the default value is 10 before enter the user id to list the channel messages before this user id get a message returns a specific message in the channel connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose messages you want to retrieve message id select the message id whose details you want to retrieve send a message sends a message to a specified channel, thread, or guild member connection discord docid\ awpjckrh wbzof2uonygc choose a method select a method send a message to a channel send a message to a thread send a dm (direct message) to a guild member channel id select the channel id to send a message message enter the message you want to send is tts message select whether the message is a tts message embeds enter the details of embedded objects title enter embed's title type enter the embed's type for example, rich, image, video, image, article, and link description enter the embed's description url enter the embed's url address timestamp enter the embed's timestamp in iso8601 format see the list of supported date and time formats https //www make com/en/help/mapping/date examples html color enter the embed's color code for field descriptions, see the discord messages api reference stickers enter the sticker id to be sent along with the message components enter the components you want to send or respond to a slash command or other interaction for field descriptions, see the discord messages api reference https //discord com/developers/docs/interactions/message components#component object files enter the file's details file name enter the file name, including the extension, for example, invoice xml data enter the file's data message reference enter the message id if you are replying to a message edit a message edits a specified message connection discord docid\ awpjckrh wbzof2uonygc choose a method select a method send a message to a channel send a message to a thread send a dm (direct message) to a guild member channel id select or map the channel id whose message you want to edit message id select or map the message id whose details you want to edit content enter the message contents up to a maximum of 2000 characters flags select a flag for the message for field descriptions, see the discord message api reference https //discord com/developers/docs/resources/channel#message object message flags embeds enter the embeds you want to add to your message for field descriptions, see the discord message api reference https //discord com/developers/docs/resources/channel#message object message flags components enter the components you want to send or respond to a slash command or other interaction for field descriptions, see the discord messages api reference https //discord com/developers/docs/interactions/message components#component object files enter the file's details file name enter the file name, including the extension, for example, invoice xml data enter the file's data delete a message deletes a message connection discord docid\ awpjckrh wbzof2uonygc channel id enter the channel id whose message you want to delete message id enter the message id you want to delete channels you can watch, list, create, update, and delete channels, channel invites, and guild channels watch channel invites triggers when a new channel invite is created connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose channel invites you want to watch limit the maximum number of channel invites make should return during one make execution cycle the default value is 2 list channel invites returns a list of invites (with invite metadata) for the channel connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose channel invite you want to list limit the maximum number of channel invites make should return during one make execution cycle the default value is 10 list channels returns a list of bot's channels connection discord docid\ awpjckrh wbzof2uonygc limit the maximum number of channels make should return during one make execution cycle the default value is 10 list root channels too select whether to list root channels create a guild channel creates a new channel for the guild connection discord docid\ awpjckrh wbzof2uonygc name enter a name for the guild channel type select the type of guild channel guild text dm guild voice guild dm guild category guild news guild store topic enter the topic name for the guild channel position enter the sorting position of the guild channel rate limit per user enter the number of seconds the user has to wait before sending the next message in the guild channel parent id select the parent id of the guild channel text channel voice channel nsfw channel select yes if this guild channel is nsfw (not suitable for wumpus) yes no not defined for more information on nsfw, see nsfw channels and content permission overwrites add the permission overwrites for the channel role id select the role id of the user allow permission bit set enter the number of permission bit set to allow deny permission bit set enter the number of permission bit set to deny create a channel thread creates a new channel thread connection discord docid\ awpjckrh wbzof2uonygc choose a method select a method create a thread from message create a thread without message channel id select the channel id whose thread you want to create message id select the message id whose thread you want to create name enter a name for the channel thread auto archive duration select the duration to stop the thread from showing in the channel list 60 minutes 1440 minutes 4320 minutes 10080 minutes rate limit per user enter the number of seconds the user has to wait before sending the next message in the guild channel create a channel invite creates a new invite for the channel it works only with a connection that has permission to manage invites connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose invite you want to create max age in seconds enter the maximum duration after which the invite expires enter the duration of the invite in seconds before expiry, or 0 for never note 86400 is 24 hours max uses enter the maximum number of times the channel invite can be used enter zero for unlimited is temporary? select if this channel invite gives a temporary membership is unique? select if this channel invite can be used only once if selected, you cannot create a similar channel invite update a channel updates a channel's settings connection discord docid\ awpjckrh wbzof2uonygc channel id enter the channel id you want to modify name enter a new name for the channel type select the channel type note only conversion between text and news is supported and only in guilds with the 'news' feature topic enter a topic for the channel position enter the channel sorting position of the guild channel rate limit per user enter the time in seconds a user has to wait before sending another message (0 21600) parent id select the parent id of the guild channel text channel voice channel nsfw channel select yes if this guild channel is nsfw (not suitable for wumpus) yes no not defined for more information on nsfw, see nsfw channels and content permission overwrites add the permissions for members to overwrite role id select the role or members to whom you want to assign the permission allow permission bit set enter the permission allowed in a bit set deny permission bit set enter the permission denied in a bit set bitrate enter the bitrate (in bits) if this is a voice channel user limit enter the maximum number of users you can add to the channel delete a channel deletes a channel connection discord docid\ awpjckrh wbzof2uonygc channel select the channel id you want to delete reactions you can post a reaction with emojis with the following module post a reaction with an emoji post a reaction for the message with an emoji connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id where you want to post a reaction with an emoji message id enter the message id that you want to post a reaction with an emoji emoji enter the emoji to post as a reaction to the message member you can watch, search, list and update guild members and add or remove roles from guild members with the following modules watch guild members triggers when a member has joined the bot's guild connection discord docid\ awpjckrh wbzof2uonygc limit the maximum number of guild members make should return during one make execution cycle the default value is 2 search guild members searches for guild members connection discord docid\ awpjckrh wbzof2uonygc query enter a username or a nickname to return the guild members limit the maximum number of guild members make should return during one make execution cycle the default value is 10 list guild members returns a list of members that are members of the bot's guild connection discord docid\ awpjckrh wbzof2uonygc after enter the user id to list the guild member after this id limit the maximum number of guild members make should return during one make execution cycle list guild members with reactions on message returns a list of guide member that reacted with the emoji on the message connection discord docid\ awpjckrh wbzof2uonygc choose a method select a method get a message from a channel get a message from a thread get a dm (direct message) from a guild member channel id select the channel id whose users reacted with an emoji you want to list message id select the message id that has the reaction with an emoji that you want to list the users of guild member enter the guild member whose reaction to the message you want to list alternatively, you can search for guild members query enter a username or nickname to list the guild members with the string limit the maximum number of guild members make product name should return during one make scenario execution cycle the default value is 10 emoji select the emoji you want to list limit the maximum number of users make should return during one make execution cycle update a guild member updates an existing guild member connection discord docid\ awpjckrh wbzof2uonygc guild member id enter the guild member whose reaction to the message you want to list alternatively, you can search for guild members query enter a username or nickname to list the guild members with the string limit the maximum number of guild members make product name should return during one make scenario execution cycle the default value is 10 nickname enter a nickname for the guild member role ids select the role id to assign them to the guild member is mute select whether the user is muted in voice channels is deaf select whether the user is deafened in voice channels channel id select the channel id to move the user communication disabled until enter the timeout, after which the user can communicate in the guild again (up to 28 days in the future), and set it to null to remove the timeout add a role to a guild member adds a role to a guild member connection discord docid\ awpjckrh wbzof2uonygc user id select the user id whose role you want to add to a guild member role id select the role id of the user you want to add remove a role from a guild member removes a role from a guild member, connection discord docid\ awpjckrh wbzof2uonygc user id select the user id whose role you want to remove from a guild member role id select the role id of the user you want to remove event you can create, update, list, retrieve, and delete guild events with the following modules list guild events retrieves a list of scheduled events for guild connection discord docid\ awpjckrh wbzof2uonygc include number of users subscribed to each event select whether to list the users subscribed to each event limit the maximum number of guild members make should return during one make execution cycle the default value is 10 get a guild event gets a specified guild event connection discord docid\ awpjckrh wbzof2uonygc guild event id select or map the guild event id whose details you want to retrieve include number of users subscribed to each event select whether to retrieve the users subscribed to each event create a guild event creates a new guild event connection discord docid\ awpjckrh wbzof2uonygc event name enter a name for the event entity type select the entity type stage instance voice external location enter the event's location this field is required if the event type is external channel id enter the channel id whose event you want to create this field is required if the event type is stage instance or voice start time enter a time when the event is scheduled to start in iso8601 format end time enter a time when the event is scheduled to end in iso8601 format description enter a description for the event file enter the file's details image file name enter the file name, including its extension for example, invoice xml image data enter the image data update a guild event updates an existing guild event connection discord docid\ awpjckrh wbzof2uonygc guild event id select or map the guild event id whose details you want to update event name enter a name for the event entity type select the entity type stage instancevoice external location enter the event's location this field is required if the event type is external channel id enter the channel id whose event you want to create this field is required if the event type is stage instance or voice start time enter a time when the event is scheduled to start in iso8601 format see the list of supported date and time formats docid\ sqitts xzcflfg9j6xyui end time enter a time when the event is scheduled to end in iso8601 format see the list of supported date and time formats docid\ sqitts xzcflfg9j6xyui description enter a description for the event file enter the file's details image file name enter the file name, including its extension for example, invoice xml image data enter the image data delete a guild event deletes a guild event connection discord docid\ awpjckrh wbzof2uonygc guild event id select or map the guild event id you want to delete webhooks you can create, send messages, and delete webhook bots with the following modules create a webhook bot creates a new webhook connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose webhook you want to create name enter a name for the webhook bot send a message by webhook bot sends a new message by executing a (custom) webhook bot connection discord docid\ awpjckrh wbzof2uonygc channel id select the channel id whose webhook you want to execute name enter the webhook name you want to execute delete a webhook bot deletes a webhook permanently connection discord docid\ awpjckrh wbzof2uonygc webhook id enter the webhook id you want to delete other you can update current bots and call apis with the following modules update a current bot updates a current and connected user's bot connection discord docid\ awpjckrh wbzof2uonygc bot name enter a name for the bot file enter the bot image data make an api call performs an arbitrary authorized api call to manage data in discord connection discord docid\ awpjckrh wbzof2uonygc url enter a path relative to https //discordapp com/api for the list of available endpoints, refer to the discord api documentation method select the http method you want to use get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry headers enter the desired request headers you don't have to add authorization headers; we already did that for you query string enter the request query string body type select the method in which you want to map the body content body enter the body content for your api call example of use get user the following api call returns all the information about the selected user url /users/@me method get matches of the search can be found in the module's output under bundle > body in our example, the details of the user were returned