WuBook RateChecker

Compare prices and keep on eye on the availability of your competitor hotels.

Integrate the WuBook RateChecker API with the Discord Bot API

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

Add Manual Snapshot with WuBook RateChecker API on New Message in Channel from Discord Bot API
Discord Bot + WuBook RateChecker
 
Try it
Get Monitored Competitors with WuBook RateChecker API on New Message in Channel from Discord Bot API
Discord Bot + WuBook RateChecker
 
Try it
Get Stays with WuBook RateChecker API on New Message in Channel from Discord Bot API
Discord Bot + WuBook RateChecker
 
Try it
Add Manual Snapshot with WuBook RateChecker API on New Guild Member from Discord Bot API
Discord Bot + WuBook RateChecker
 
Try it
Add Role with Discord Bot API on New Competitor Added from WuBook RateChecker API
WuBook RateChecker + Discord Bot
 
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 Competitor Added from the WuBook RateChecker API

Emit new event when a new competitor is added. See the docs

 
Try it
New Stay Created from the WuBook RateChecker API

Emit new event when a new stay is created. See the docs

 
Try it
New Guild Member from the Discord Bot API

Emit new event for every member added to a guild

 
Try it
Add Manual Snapshot with the WuBook RateChecker API

Adds a manual snapshot for a stay. See the docs

 
Try it
Get Monitored Competitors with the WuBook RateChecker API

Retrieve a list of montiored competitors. See the docs

 
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
Get Stays with the WuBook RateChecker API

Retrieve a list of stays from a competitor. See the docs

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it

Connect WuBook RateChecker

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: {
    wubook_ratechecker: {
      type: "app",
      app: "wubook_ratechecker",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://wubook.net/wrpeeker/api/user`,
      params: {
        format: `json`,
        token: `${this.wubook_ratechecker.$auth.api_token}`,
      },
    })
  },
})

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