Twitch

Live streaming platform for gamers

Integrate the Twitch API with the Discord Bot API

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

Block User with Twitch API on New Message in Channel from Discord Bot API
Discord Bot + Twitch
 
Try it
Check Channel Subscription with Twitch API on New Message in Channel from Discord Bot API
Discord Bot + Twitch
 
Try it
Delete Video with Twitch API on New Message in Channel from Discord Bot API
Discord Bot + Twitch
 
Try it
Get Channel Editors with Twitch API on New Message in Channel from Discord Bot API
Discord Bot + Twitch
 
Try it
Get Channel Followers with Twitch API on New Message in Channel from Discord Bot API
Discord Bot + Twitch
 
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
New Clip By Streamer from the Twitch API

Emit new event when there is a new clip for the specified streamer.

 
Try it
New Clips from the Twitch API

Emit new event when there is a new clip for the specified game.

 
Try it
New Followed Streams from the Twitch API

Emit new event when a followed stream is live.

 
Try it
New Follower from the Twitch API

Emit new event when a new user follows your channel.

 
Try it
Block User with the Twitch API

Blocks a user; that is, adds a specified target user to your blocks list

 
Try it
Check Channel Subscription with the Twitch API

Checks if you are subscribed to the specified user's channel

 
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
Delete Video with the Twitch API

Deletes a specified video

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it

Overview of Twitch

With the Twitch API, you can develop apps that:

  • Display a list of top Twitch channels
  • Allow users to search for specific Twitch channels
  • Show information about a specific Twitch channel
  • Allow users to follow or unfollow a Twitch channel
  • Notify users when their favorite Twitch channels go live

Connect Twitch

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: {
    twitch: {
      type: "app",
      app: "twitch",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.twitch.tv/helix/users`,
      headers: {
        Authorization: `Bearer ${this.twitch.$auth.oauth_access_token}`,
        "Client-ID": `${this.twitch.$auth.oauth_client_id}`,
      },
    })
  },
})

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}`,
      },
    })
  },
})