Skip to content

Instantly share code, notes, and snippets.

View kub1ce's full-sized avatar
🧊
.

Kubice kub1ce

🧊
.
  • 22:45 (UTC +05:00)
View GitHub Profile
@AbstractUmbra
AbstractUmbra / 00-deprecation.md
Last active August 17, 2024 20:01
discord.py 2.0+ slash command info and examples

This gist has now been 'deprecated' and has moved...

... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.

@LeviSnoot
LeviSnoot / discord-timestamps.md
Last active September 20, 2024 09:19
Discord Timestamp Syntax

Discord Timestamps

Discord timestamps can be useful for specifying a date/time across multiple users time zones. They work with the Unix Timestamp format and can be posted by regular users as well as bots and applications.

The Epoch Unix Time Stamp Converter is a good way to quickly generate a timestamp. For the examples below I will be using the Time Stamp of 1543392060, which represents November 28th, 2018 at 09:01:00 hours for my local time zone (GMT+0100 Central European Standard Time).

Formatting

Style Input Output (12-hour clock) Output (24-hour clock)
Default <t:1543392060> November 28, 2018 9:01 AM 28 November 2018 09:01