with Discord Bot and Mojo Helpdesk?
Emit new event for each message posted to one or more channels
Emit new event when a new ticket is created. See the docs here
Emit new event when a new unassigned ticket with a due date is created. See the docs
Emit new event when a new unassigned ticket with a scheduled on date is created. See the docs
Emit new event when a new user is created. See the docs here
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Create a new invite for the channel. See the docs here
The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_bot: {
type: "app",
app: "discord_bot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
"Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
},
})
},
})
Mojo Helpdesk API lets you seamlessly integrate your customer support system into your business workflow. With this API, you can automate ticket creation, update statuses, track ticket progress, manage user accounts, and extract ticket data for analysis. Take advantage of Pipedream's capabilities to connect Mojo Helpdesk with various services, triggering actions based on customer interactions, automating responses, and synchronizing data across platforms to streamline your customer support and enhance the user experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mojo_helpdesk: {
type: "app",
app: "mojo_helpdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mojohelpdesk.com/api/v2/users`,
params: {
access_key: `${this.mojo_helpdesk.$auth.access_key}`,
},
})
},
})