@samagra-x/uci-adapters-discord
v1.0.3
Published
A discord wrapper for @samagra-x/uci-adapters-factory
Downloads
306
Maintainers
Keywords
Readme
Nodejs Discord Bot Provider
A discord bot provider library for @samagra-x/uci-adapters-factory
Taken from: @novu/stateless
Usage
import { AdapterFactory } from '@samagra-x/uci-adapters-factory';
const adapter = AdapterFactory.getAdapter({
type: 'Discord',
});
await adapter.sendMessage({
webhookUrl: 'WEBHOOK',
content: 'CONTENT',
});