Google Drive

Internet-related services and products

Go to site

Integrate the Google Drive API with the Discord Bot API

Setup the Google Drive API trigger to run a workflow which integrates with the Discord Bot API. Pipedream's integration platform allows you to integrate Google Drive 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
Upload File to Folder by File Path

Allows you to upload a file previously-saved to the /tmp directory, by passing in the path to that file

 
Try it
Modify Guild

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

 
Try it
Upload File by URL

Upload a file to Google Drive by URL

 
Try it
Get Files

Gets or searches files.

 
Try it

Connect Google Drive

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://www.googleapis.com/oauth2/v1/userinfo`,
  headers: {
    Authorization: `Bearer ${auths.google_drive.oauth_access_token}`,
  },
})

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