Skip to content

Instantly share code, notes, and snippets.

Avatar
🌏
rebuilding my planet Krypton again

Krypton kkrypt0nn

🌏
rebuilding my planet Krypton again
View GitHub Profile
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active Sep 25, 2022
A guide to ANSI on Discord
View ansi-colors-discord.md

Messages with colors:

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.

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

The \u001b is the unicode for ESCAPE/ESC, see http://www.unicode-symbol.com/u/001B.html. If you want to use it yourself without bots, then you need to copy paste the character from the website.

View keybase.md

Keybase proof

I hereby claim:

  • I am kkrypt0nn on github.
  • I am kkrypt0nn (https://keybase.io/kkrypt0nn) on keybase.
  • I have a public key ASCiMcJKoWf0yjjy9EBxOym_-ZCTPk9SzhDJcftfQ16Kmgo

To claim this, I am signing this object: