1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-14 08:06:23 -07:00

Add message-pre-format event trigger

This commit is contained in:
Eggbertx 2023-06-09 15:16:34 -07:00
parent 381dd42a28
commit 6d22c86df1
3 changed files with 41 additions and 0 deletions

View file

@ -10,6 +10,9 @@ This is a list of events that gochan may trigger at some point, that can be used
- **incoming-upload**
- Triggered by the `gcsql` package when an upload is attached to a post. It is triggered before the upload is entered in the database
- **message-pre-format**
- Triggered when an incoming post or post edit is about to be formatted
- **shutdown**
- Triggered when gochan is about to shut down, in `main()` as a deferred call