Discord

Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.

Integrate the Discord API with the TRIGGERcmd API

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

Trigger a command with TRIGGERcmd API on New Message from Discord API
Discord + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on Message Deleted (Instant) from Discord API
Discord + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on New Command Received (Instant) from Discord API
Discord + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on New Guild Member (Instant) from Discord API
Discord + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on Reaction Added (Instant) from Discord API
Discord + TRIGGERcmd
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Reaction Added (Instant) from the Discord API

Emit new event for each reaction added to a message

 
Try it
Trigger a command with the TRIGGERcmd API

Runs a command on a computer. Refer to the TRIGGERcmd Forum to learn more.

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it
Send Message With File with the Discord API

Post a message with an attached file

 
Try it

Overview of Discord

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.

Connect Discord

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

Overview of TRIGGERcmd

TRIGGERcmd is a cloud service that allows you to execute commands on your computers remotely through a REST API or via voice command with smart home integrators. With Pipedream's integration capabilities, you can create custom workflows to automate tasks across various apps and services. For instance, you could set up a serverless workflow to trigger scripts on your computer when specific events occur in other apps, such as receiving an email, a new GitHub commit, or a scheduled timer.

Connect TRIGGERcmd

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    triggercmd: {
      type: "app",
      app: "triggercmd",
    }
  },
  async run({steps, $}) {
    const data = {
      "computer": `insert_computer_name_here`,
      "trigger": `insert_trigger_name_here`,
    }
    return await axios($, {
      method: "post",
      url: `https://www.triggercmd.com/oauth/pipedream`,
      headers: {
        Authorization: `Bearer ${this.triggercmd.$auth.oauth_access_token}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})