Communication
Discord
42 min
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 /#connect discord to make using oauth2 discord /#connect to discord using oauth2 and your own credentials 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 false false 213false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type list channel messages returns the message for the channel false false 210false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type get a message returns a specific message in the channel false false 210false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type send a message sends a message to a specified channel, thread, or guild member false false 208false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type edit a message edits a specified message false false 210false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type delete a message deletes a message false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type 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 false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type list channel invites returns a list of invites (with invite metadata) for the channel false false 215false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type list channels returns a list of bot's channels false false 215false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type create a guild channel creates a new channel for the guild false false 217false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type create a channel thread creates a new channel thread false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type create a channel invite creates a new invite for the channel it works only with a connection that has permission to manage invites false false 212false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type update a channel updates a channel's settings false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type delete a channel deletes a channel false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type 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 false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type 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 false false 183false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type search guild members searches for guild members false false 185false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type list guild members returns a list of members that are members of the bot's guild false false 185false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type list guild members with reactions on message returns a list of guide member that reacted with the emoji on the message false false 188false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type update a guild member updates an existing guild member false false 190false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type add a role to a guild member adds a role to a guild member false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type remove a role from a guild member removes a role from a guild member, false falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type 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 false false 210false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type get a guild event gets a specified guild event false false 163false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type create a guild event creates a new guild event false false 216false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type update a guild event updates an existing guild event false false 217false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type delete a guild event deletes a guild event false false 215false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type webhooks you can create, send messages, and delete webhook bots with the following modules create a webhook bot creates a new webhook false false 215false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type send a message by webhook bot sends a new message by executing a (custom) webhook bot false false 215false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type delete a webhook bot deletes a webhook permanently false false 215false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type 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 false false 201false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type make an api call performs an arbitrary authorized api call to manage data in discord false false 201false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type 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