AWS

On-demand cloud computing platforms and APIs

Go to site

Integrate the AWS API with the Discord Bot API

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

Get Current User Guilds

List the guilds the current bot user is a part of from the /users/@me/guilds API endpoint

 
Try it
S3 - Upload File

Accepts a base64-encoded string, a filename, and a content type, then uploads as a file to S3

 
Try it
Modify Guild

Modify a guild's settings. Requires the MANAGE_GUILD permission. Returns the updated guild object on success

 
Try it
List Guild Members

Returns a list of guild member objects that are members of the guild, from the /guilds/{guild.id}/members endpoint

 
Try it
Get Channel

Get a channel by ID. Returns a channel object.

 
Try it

Connect AWS

const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = auths.aws

/* Now, pass the accessKeyId and secretAccessKey to the constructor for your desired service. For example:

const dynamodb = new AWS.DynamoDB({
  accessKeyId, 
  secretAccessKey,
  region: 'us-east-1',
})

*/

Connect Discord Bot

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    "Authorization": `Bot ${auths.discord_bot.bot_token}`,
  },
})