DOC: lua/event: add ServerEvent class header

This is to make ServerEvent class easier to understand,
some additional info related to ServerEvent class may be
included here.
This commit is contained in:
Aurelien DARRAGON 2023-04-17 17:24:48 +02:00 committed by Christopher Faulet
parent fc84553df8
commit c4ae8906b9

View File

@ -1487,6 +1487,12 @@ EventSub class
ServerEvent class
=================
.. js:class:: ServerEvent
This class is provided with every **SERVER** events.
See :js:func:`core.event_sub()` for more info.
.. js:attribute:: ServerEvent.name
Contains the name of the server.