with Discord Bot and Judge.me?
Emit new event for each message posted to one or more channels
Emit new event when a new review is posted. See the documentation
Emit new event for each forum thread message posted. Note that your bot must have the MESSAGE_CONTENT
privilege intent to see the message content. See the documentation
Emit new event for every member added to a guild. See docs here
Emit new event when a new tag is added to a thread
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Create a private reply for a review, on behalf of the shop. Private replies are not shown on the widgets, but can be emailed to the reviewers. See the documentation
Create a public reply for a review on behalf of the shop. Public replies are shown publicly on the widgets. See the documentation
Create a new invite for the channel. See the docs here
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 Judge.me API lets you tap into a rich repository of product review data, enabling you to automate the gathering, moderation, and publication of reviews on your store. You can also trigger actions based on review events, like thanking a customer after they leave a positive review or addressing negative feedback promptly. With Pipedream's serverless platform, you can craft workflows to interact with other apps, streamline processes, and react to review-related activities in real-time, without writing any backend code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
judge_me: {
type: "app",
app: "judge_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://judge.me/api/v1/reviews`,
params: {
api_token: `${this.judge_me.$auth.oauth_access_token}`,
shop_domain: `${this.judge_me.$auth.shop_domain}`,
},
})
},
})