Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push log messages to Discord #1133

Open
kristoferlund opened this issue Aug 16, 2023 · 2 comments
Open

Push log messages to Discord #1133

kristoferlund opened this issue Aug 16, 2023 · 2 comments
Labels
api discord-bot enhancement New feature or request

Comments

@kristoferlund
Copy link
Member

We are using winston for logging, both in the Discord bot and the API. Logging to file is good but inaccessible. We would like to add the option to push log messages to a Discord channel as well.

Winston supports writing custom transports, perhaps this is an option?

@kristoferlund
Copy link
Member Author

@Vyvy-vi The webhook that posts messages to Discord, would we have to host that ourselves or is that something Discord provides already?

@Vyvy-vi
Copy link
Collaborator

Vyvy-vi commented Sep 1, 2023

It's a POST webhook. We just need to send a POST request via HTTP to an endpoint discord provides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api discord-bot enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants