Skip to content

Instantly share code, notes, and snippets.

View H4ckerxx44's full-sized avatar
💭
h

H4ckerxx44

💭
h
  • Pisces–Cetus Supercluster Complex
  • 02:28 (UTC +02:00)
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active June 1, 2024 21:20
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m

\u001b is the unicode escape for ESCAPE/ESC, meant to be used in the source of your bot (see ). If you wish to send colored text without using your bot you need to copy the character from the website.

@Soheab
Soheab / timezones.md
Last active March 30, 2024 12:36
See here all timezones supported by Python PyTz and ZoneInfo!

⬇️ End

ℹ️ Information
All supported timezones by the pytz package, Python's built-in ZoneInfo and probably others too.
Use Ctrl/CMD + F to look for a specific timezone or use the Jump URLs
❗ Important ZoneInfo is case sensitive. What this means is that ETC/... should be Etc/...