Skip to content

Handling PING yourself #50

@AlexDaniel

Description

@AlexDaniel

It seems that it is not possible to handle PING requests yourself. It returns early and the user is not given a chance to receive the event.

Being annoyed by bots getting stuck in disconnected state, I wanted to add a watchdog that will have its timestamp updated every time a ping request is received. I'm not sure if that's the best way to handle it, but at least it will work (if only I can find a way to process pings somehow).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions