Use this app to interact with the Discord API using a bot in your account
Emit new event for each message posted to one or more channels
Emit new event for each task added to Google Tasks. See the documentation
Emit new event for each task added or updated to Google Tasks. 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.
Emit new event for every member added to a guild. See docs here
Creates a new task and adds it to the authenticated user's task lists. See the docs here
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Creates a new task list and adds it to the authenticated user's task lists. See the docs here
Deletes the authenticated user's specified task. 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}`,
},
})
},
})
The Google Tasks API allows you to manage and manipulate a user's tasks and task lists on Google Tasks directly from Pipedream. With this API, you can create, read, update, and delete tasks, as well as manage the lists themselves. This opens up possibilities for automating task management, syncing tasks with other systems, and creating custom task-based workflows that can increase productivity and ensure nothing falls through the cracks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_tasks: {
type: "app",
app: "google_tasks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/tasks/v1/users/@me/lists`,
headers: {
Authorization: `Bearer ${this.google_tasks.$auth.oauth_access_token}`,
},
})
},
})