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 event when a time entry is started. See docs here
Emit new event when a time entry is created. See docs here
Emit new event when a time entry is updated. See docs here
Emit new event on receive a webhook event. See docs here
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Get the time entry that is running now. [See docs here]https://developers.track.toggl.com/docs/api/time_entries#get-get-current-time-entry)
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}`,
},
})
},
})
Toggl Track is a time tracking API that lets you start, stop, and manage timers and time entries, as well as manage projects, clients, and tasks associated with time records. With the Toggl Track API on Pipedream, you can automate time tracking activities, synchronize data across platforms, and generate insights from time tracking data to improve productivity and project management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
toggl: {
type: "app",
app: "toggl",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.track.toggl.com/api/v9/me`,
auth: {
username: `${this.toggl.$auth.api_token}`,
password: `api_token`,
},
})
},
})