Use this app to interact with the Discord API using a bot in your account
Emit new event for each message posted to one or more channels
Emit new admin activities by selected user
Emit new admin activities by selected user
Emit new admin activities by selected user and application name
Retrieves a report of all Admin console activities done by a specific administrator. See the docs for more information
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Retrieves a report of all activities for a specific event name. See the docs for more information
Retrieves a report of all activities for a specific event name and admin. See the docs for more information
The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.
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}`,
},
})
},
})
The Google Workspace Admin API unlocks the power to manage your organization's Google Workspace services. With Pipedream, leverage this API to automate user account management tasks, control devices, manage groups, and gain insights through reports. Simplify complex operational workflows and keep your Workspace environment finely tuned and secure without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_workspace: {
type: "app",
app: "google_workspace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_workspace.$auth.oauth_access_token}`,
},
})
},
})