Handles errors in event callbacks.
The name of the event.
The event callback function.
The Discord client.
Additional arguments for the event callback.
Handles errors in event callbacks.