Patreon

Patreon is the best place for creators to build memberships by providing exclusive access to their work and a deeper connection with their communities.

Integrate the Patreon API with the Discord Bot API

Setup the Patreon API trigger to run a workflow which integrates with the Discord Bot API. Pipedream's integration platform allows you to integrate Patreon and Discord Bot remarkably fast. Free for developers.

Add Role with Discord Bot API on Member Created from Patreon API
Patreon + Discord Bot
 
Try it
Add Role with Discord Bot API on New Pledge Received from Patreon API
Patreon + Discord Bot
 
Try it
Get message with Discord Bot API on Post Published from Patreon API
Patreon + Discord Bot
 
Try it
Add Role with Discord Bot API on Member Deleted from Patreon API
Patreon + Discord Bot
 
Try it
Add Role with Discord Bot API on Post Published from Patreon API
Patreon + Discord Bot
 
Try it
Member Created from the Patreon API

Emit new event for each created member

 
Try it
New Message in Channel from the Discord Bot API

Emit new event for each message posted to one or more channels

 
Try it
Member Deleted from the Patreon API

Emit new event for each deleted member

 
Try it
New Pledge Received from the Patreon API

Emit new event for each received pledge

 
Try it
Post Published from the Patreon API

Emit new event for published post

 
Try it
Add Role with the Discord Bot API

Assign a role to a user. Remember that your bot requires the MANAGE_ROLES permission. See the docs here

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it
Create Channel Invite with the Discord Bot API

Create a new invite for the channel. See the docs here

 
Try it
Create Guild Channel with the Discord Bot API

Create a new channel for the guild. See the docs here

 
Try it
Delete Channel with the Discord Bot API

Delete a Channel.

 
Try it

Connect Patreon

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import axios from "axios"

export default defineComponent({
  props: {
    patreon: {
      type: "app",
      app: "patreon",
    }
  },
  async run({steps, $}) {
    const resp = await axios({
      url: `https://www.patreon.com/api/oauth2/v2/identity?fields%5Buser%5D=email,full_name`,
      headers: {
        Authorization: `Bearer ${this.patreon.$auth.oauth_access_token}`,
        "Content-Type": `application/x-www-form-urlencoded`,
      },
    })
    return resp.data
  },
})

Overview of Discord Bot

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})