What happened to the Discord webhook?

I can’t seem to find it anywhere. I’ve used it before in other workflows but now there is only Discord and Discord bot. The discord webhook was great for simple tasks. Does anybody know what happened? or am I just confused?

Hi there @lofimonk.cloudgaming, we’ve deprecated the Discord Webhook app and improved the functionality and migrated it over to the Discord app – can you try connecting that app and see if it solves your problem?

oh sorry to hear that. I used the webhook because I don’t want to create a discord developer account and I don’t want to use the pipedream bot. unless I’m missing something here… oh well. nice while it lasted.

Ah, got it. Yes the Discord app integration will add the Pipedream bot to your server – out of curiosity, is there a reason you don’t want to add the Pipedream bot?

Branding. I know I can do all of that using the discord developer portal but there are tons of these types of tools for discord that do that. I tried pipedream because it had the webhook.

To confirm, you can customize the bot’s username and icon when sending messages using the Pipedream bot, but yes aside from configuring your own custom bot and using the Discord Bot app in Pipedream, it’ll still add the Pipedream bot to the server.

Is there any way you’d reconsider this. It isn’t JUST about the branding of the messages, it’s about being forced to have yet another bot added to a server when there’s no need for a bot and the technology of webhooks should be able to do what we’re looking to do.

In addition, your bot automatically requests Administrator privileges… which is an absolutely unnecessarily high level of access to a server allowing it to bypass all channel restrictions and perform all moderator actions. It’s an extremely high level permission that increases security risk if your bot were to be hacked. I’m just trying to send an embed here. You shouldn’t need to be able to ban my members to do that.

Although I know how to restrict privileges for bots, I’ve written tutorials for people to use pipedream that are not as tech or coding savvy as me. I can’t in good conscious expect those people to manage the permissions for your bot and still have it work, nor can I recommend that they turn over the keys to their server to ANY bot.

@enigmalea thank you for sharing your feedback. I hear you on not wanting to add a bot to your Server. You can still send messages via webhook into Discord from Pipedream, it’s just not pre-packaged in an action. You can create a webhook from the channel’s settings, then use that URL in a code step or using the HTTP request action.

For example, here’s a basic text message:

import { axios } from "@pipedream/platform"
export default defineComponent({
  async run({steps, $}) {
    const webhookUrl = 'https://discord.com/api/webhooks/...'
    const message = 'hello, world'
    await axios($, {
      url: `${webhookUrl}`,
      headers: {
        'Content-Type': 'application/json'
      },
      method: 'post',
      data: {
        content: message
      }
    })
  },
})

Let me know if that helps unblock you.

Thanks