mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[PR #912] [CLOSED] Discord handler #1411
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#1411
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Seldaek/monolog/pull/912
Author: @Crecket
Created: 1/9/2017
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
3cde5d9discord bot handler and test addedad1857ffixed annotations614c387get error level from record📊 Changes
2 files changed (+176 additions, -0 deletions)
View changed files
➕
src/Monolog/Handler/DiscordBotHandler.php(+128 -0)➕
tests/Monolog/Handler/DiscordBotHandlerTest.php(+48 -0)📄 Description
A basic discord handler using the Bot api over HTTPS which can be found here: https://discordapp.com/developers/docs/reference
A quick example:
This will output something similar to this:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.