Connect Discord Bot with Novu
Hey i want to integrate my novu notifications with my Discord Bot which is created with Commandkit.
I added the Push Webhook Provider in novu for that.
I had the following error which is shown in the screenshot.
i assume the problem is that i didnt set the credentials right now.
on the documentation there is a example where i should set my credentials but on as it seems the novu/node package is marked as deprecated.
https://docs.novu.co/platform/integrations/chat/discord?utm_campaign=in-app
So could you tell me how do i configure it with the novu/api package.
Discord | Novu Documentation
Learn about how to use Discord provider for chat notifications

7 Replies
Hi 👋
Just updated the discord code snippet for @novu/api
It will be updated in a few minutes. Please refresh the page
Just updated the discord code snippet for @novu/api
It will be updated in a few minutes. Please refresh the page
Discord | Novu Documentation
Learn about how to use Discord provider for chat notifications
Hey, when i import the ChatOrPushProviderEnum i get the error
"Module '"@novu/api/models/components"' has no exported member 'ChatOrPushProviderEnum'.ts(2305)"
can you please share @novu/api version?
"@novu/api": "^0.5.0",
please use laest version 1.6.0
https://www.npmjs.com/package/@novu/api
npm
@novu/api
The <Inbox /> infrastructure for modern products. Latest version: 1.6.0, last published: 9 days ago. Start using @novu/api in your project by running
npm i @novu/api
. There are no other projects in the npm registry using @novu/api.thank you that worked