Feat: renotify bot btn and handler
This commit is contained in:
2
main.go
2
main.go
@ -43,6 +43,8 @@ func ListenToRequests(port string) error {
|
||||
mux.HandleFunc("GET /word/show-color", handlers.HandleShowColor)
|
||||
mux.HandleFunc("POST /check/name", handlers.HandleNameCheck)
|
||||
mux.HandleFunc("GET /add-bot", handlers.HandleAddBot)
|
||||
// special
|
||||
mux.HandleFunc("GET /renotify-bot", handlers.HandleRenotifyBot)
|
||||
// sse
|
||||
mux.Handle("GET /sub/sse", handlers.Notifier)
|
||||
slog.Info("Listening", "addr", port)
|
||||
|
Reference in New Issue
Block a user