Skip to content

Dev API

Vurv edited this page Feb 4, 2022 · 3 revisions

Functions

None!

Hooks

SHARED

glink.message_created(username: string, content: string, raw_data: table, attachments: table)

Called when a message was sent in the provided glink channel.
raw_data will be nil on the client to save network bandwidth and for privacy.

SERVER

glink.shutdown(restart: bool)

Called when glink is shutting down. Passes true as first parameter, if it is restarting.

CLIENT

None!

Cookies

TBD