Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Adds user memberships to a group in PixieBrix. See the documentation
Deletes a single group membership. See the documentation
Gets the current memberships of a group. See the PixieBrix API documentation
Updates the memberships of a group in PixieBrix. See the documentation
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
PixieBrix is an extension framework for creating and sharing browser enhancements that streamline and enrich web interactions. It makes the customization of webpages simple, allowing users to tailor their web experience and automate tasks without needing to write code. In Pipedream, you can harness the PixieBrix API to trigger workflows from web actions, scrape data, and integrate with countless other services to automate tasks, enhance analytics, or sync data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pixiebrix: {
type: "app",
app: "pixiebrix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.pixiebrix.com/api/me`,
headers: {
"Accept": `application/json; version=2.0`,
"Content-Type": `application/json; version=2.0`,
"Authorization": `Token ${this.pixiebrix.$auth.auth_token}`,
},
})
},
})