with Discord Bot and Cloud Convert?
Emit new event for each message posted to one or more channels
Emit new event when a CloudConvert job has failed. See the documentation
Emit new event when a CloudConvert job has been completed. See the documentation
Emit new event when a new job has been created. See the documentation
Emit new event for each forum thread message posted. Note that your bot must have the MESSAGE_CONTENT
privilege intent to see the message content. See the documentation
Converts an input file to a specified output format using CloudConvert. See the documentation
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Creates an archive in a specified format. See the documentation
Creates a task to import a file from a URL. See the documentation
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}`,
},
})
},
})
The Cloud Convert API offers a robust solution for file conversion, supporting a vast array of file formats. With Pipedream, you can harness this versatility to create automated workflows that trigger file conversions, process the resulting files, and integrate with other services. By combining Cloud Convert with Pipedream's connectivity to hundreds of apps, you can craft custom automation that saves time and removes the friction from multi-format file management tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloud_convert: {
type: "app",
app: "cloud_convert",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cloudconvert.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.cloud_convert.$auth.oauth_access_token}`,
},
})
},
})