Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Emit new event for each message posted to one or more channels in a Discord server
Emit new event for transactions to/from a specific account.
Emit new event for each command posted to one or more channels in a Discord server
Emit new event when a smart contract releases a new event.
Executes a signed transaction by sending it to a blockchain node via Overledger. See the documentation
Prepares a smart contract transaction for signing on the Overledger platform. See the documentation
Reads data from a specified smart contract on the Overledger network.
Sign a transaction using Overledger - Part 2 of Overledger Pattern. See documentation
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 Overledger API by Quant Network allows developers to interact with multiple blockchain networks. It facilitates the creation, reading, and execution of smart contracts and transactions across different blockchains. This API simplifies the complex nature of blockchain interoperability, enabling multi-chain applications (MApps) through a single gateway.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
overledger: {
type: "app",
app: "overledger",
}
},
async run({steps, $}) {
const data = {
"location": {
"technology": "Ethereum",
"network": "Ethereum Sepolia Testnet"
}
}
return await axios($, {
method: "post",
url: `https://api.sandbox.overledger.io/v2/autoexecution/search/block/latest`,
headers: {
Authorization: `Bearer ${this.overledger.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})