Discord integration
What does the Discord integration do?
Rewst's Discord integration enables seamless interaction with Discord's functionalities directly from the Rewst platform. Manage channels, messages, and more using the Discord API to enhance your communication and collaboration within Discord servers.
Why use the Discord integration?
Channel and message management: Effortlessly create, modify, and manage Discord channels and messages.
Custom commands and responses: Design custom commands and automated responses for interactive communication.
Guild and role management: Easily manage Discord server (guild) settings and user roles for better server administration.
OAuth configuration: Secure integration with OAuth authentication ensuring safe and reliable connection to your Discord account.
Prerequisites for the Discord integration
Before you begin, ensure you have:
A Discord account with necessary access to a server you wish to manage in Rewst, as the API will be bound to your account's bot setup within your Discord server.
Login credentials for your Discord account. The setup process will require authorization from both Rewst and Discord platforms.
Set up the Discord integration
Navigate to Configuration > Integrations in the left side menu of your Rewst platform.
Click on the integration tile to launch the configuration setup page.
Click on the
Authorize
button and log into your Discord account.Select the desired Discord server for use with the integration.
Click
Authorize
on the Discord modal to grant permissions.Click Save Configuration.
Webhook triggers for the Discord integration
Webhook triggers in Rewst's Discord integration are all about making your workflows smarter and more responsive. Here's a straightforward look at what they offer:
Automated Command Management: They handle the heavy lifting of creating and updating application commands based on your configurations.
Custom Interaction Flexibility: While they automate most processes, there's room for manual customization in interactions, ensuring you get exactly what you need.
Adaptive Workflows: These triggers stay alert to changes, keeping your workflows in sync with the latest Discord interactions.
Types of discord integration triggers
Slash Command Trigger: Initiates workflows for specific slash commands in guild channels.
User Command Trigger: Responds to user commands in guilds.
Message Command Trigger: Activates workflows for particular message commands in guilds.
Custom Interaction Trigger: Handles unique interaction events, needing a bit of setup as per Discord's guidelines.
Set up discord integration triggers
Command Name: Decide the command's name that will kick off your trigger.
Command Type: Choose from Slash, User, Message, or Custom commands.
Guild ID: Identify the server where this magic will happen.
Actions and endpoints
Discord's own API documentation can be found here.
Channels
List Guild Channels
List all channels in a guild (server)
Channels
Create Guild Channel
Create a new channel for the guild
Channels
List Active Threads
List all active threads in a guild (server)
Channels
Create Channel Message
Create a message in a channel
Commands
Create Guild Command
Create a guild (server) command
Commands
Delete Guild (server) Command
Delete a guild command
Commands
List Guild Commands
List all guild (server) commands
Commands
Edit Guild Command
Edit a guild command
Emojis
List Guild Emojis
List all emojis in a guild (server)
Emojis
Get Guild Emoji by ID
Get a guild (server) emoji by ID
Emojis
Create Guild Emoji
Create a new emoji for the guild (server)
Generic Request
Discord API Request
Generic action for making authenticated requests against the Discord API
Guilds
Get Current User Guilds (Servers)
Get a user's guilds (servers)
Guilds
Get Guild Info by ID
Get a guild's information
Interactions
Create Followup Message
Create a followup message to an interaction
Interactions
Edit Original Interaction Response
Edit the original interaction response
User
Get Current Authorised User Info
Get the current authenticated user's info and scopes
User
Get User Info by ID
Get a user's information. Hidden due to requirement of a bot.
User
Search Guild Members
Search for guild (serverr) members by a query
User
Add Role to User
Add a role to a user
User
Create Guild Role
Create a new role for the guild (server)
Last updated
Was this helpful?