Skip to content

Instantly share code, notes, and snippets.

View asportnoy's full-sized avatar

Albert Portnoy asportnoy

View GitHub Profile
@advaith1
advaith1 / top bots.md
Last active July 6, 2024 00:33
The top Discord bots ranked by server count
Rank Bot Approximate Server Count Library
1 MEE6 21,500,000 Custom Python
2 Rythm 🪦 15,200,000 JDA
3 Groovy 🪦 10,300,000 JDA, Discord4J
4 carl-bot 🅱️ 10,300,000 Pycord
5 ProBot
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active July 21, 2024 12:46
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.