Stacks Chat
Stacks Chat is driver system for sending messages through chat apps.
☘️ Features
🤖 Usage
pnpm i -D @stacksjs/chat
You may now use it in your project:
import * as chat from '@stacksjs/chat'
const notification = chat.slack
notification.send(ChatOptions)
interface ChatOptions {
webhookUrl: string
content: string
}
Drivers
Drivers are configured with the following environment variables:
Discord
Slack
SLACK_APPLICATION_ID=SAID123
SLACK_CLIENT_ID=SCID123
SLACK_SECRET_KEY=SSK123
🧪 Testing
pnpm test
📈 Changelog
Please see our releases page for more information on what has changed recently.
💪🏼 Contributing
Please review the Contributing Guide for details.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
Discussions on GitHub
For casual chit-chat with others using this package:
Join the Stacks Discord Server
🙏🏼 Credits
Many thanks to the following core technologies & people who have contributed to this package:
📄 License
The MIT License (MIT). Please see LICENSE for more information.
Made with ❤️