Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Transcribe an audio file to text with Astica AI See the documentation
Convert text to voice audio with Astica AI See the documentation
Send a simple or structured message (using embeds) to a Discord channel
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
The Astica.ai API affords developers the ability to tap into advanced natural language processing (NLP) capabilities. By integrating this API into Pipedream workflows, you can automate text analysis, summarization, sentiment analysis, and more, leveraging the AI-powered insights to enrich applications or streamline processes. Pipedream’s serverless platform makes it painless to set up event-driven workflows that respond to various triggers and manipulate or move data between apps with no need for infrastructure management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
astica_ai: {
type: "app",
app: "astica_ai",
}
},
async run({steps, $}) {
const data = {
"tkn": `${this.astica_ai.$auth.api_key}`,
"modelVersion": `2.1_full`,
"input": `https://www.astica.org/inputs/analyze_3.jpg`,
"visionParams": `gpt, describe, describe_all, tags, objects`,
"gpt_prompt": ``,
"gpt_length": `90`,
}
return await axios($, {
method: "post",
url: `https://vision.astica.ai/describe`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})