Alchemy.Embed.timestamp
You're seeing just the function
timestamp
, go back to Alchemy.Embed module for more information.
Link to this function
timestamp(embed, time)
Specs
timestamp(t(), DateTime.t()) :: DateTime.t()
Adds a timestamp to an embed.
Note that the Datetime object will get converted to an iso8601
formatted string.
Examples
%Embed{} |> timestamp(DateTime.utc_now())