Yogstation 13 - Modules - TypesVar Details

/datum/tgs_chat_embed/structure

User definable chat embed. Currently mirrors Discord chat embeds. See https://discord.com/developers/docs/resources/channel#embed-object-embed-structure for details.

Vars

colourColour must be #AARRGGBB or #RRGGBB hex string.
imageSee https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.
thumbnailSee https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure for details.
timestampTimestamp must be encoded as: time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss"). Use the active timezone.
videoSee https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.

Var Details

colour

Colour must be #AARRGGBB or #RRGGBB hex string.

image

See https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.

thumbnail

See https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure for details.

timestamp

Timestamp must be encoded as: time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss"). Use the active timezone.

video

See https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure for details.