Hi guys, so I have a basic webhook structure however I am struggling to add a timestamp to it. Could someone please help me with this?
1 Like
First one provides the formatting, second provides how to place it in your code.
1 Like
Here is the Discord API on Embeds, I think this can help.
1 Like
Use os.date()
it will return the time and stuff like: Mon Jun 14 19:16:48 2021
timestamp = DateTime.now():ToIsoDate()
4 Likes
This was the quickest and most effective method, thanks a lot!
1 Like