A Python module for colorizing text in Discord using ANSI color codes.
Project description
Colored Codeblocks - Discord
Colored Codeblocks for Discord Bots using ANSI Escape Sequences.
You can do help(colorize.Colors)
to see all the available colors along with a detailed docstring on how to use the package.
Usage -
import discord_colorize
colors = colorize.Colors()
data = f"""
```ansi
{colors.colorize('Hello World!', fg='green', bg='indigo', bold=True, underline=True)}
```
"""
Created by TheOnlyWayUp#1231 - https://github.com/TheOnlyWayUp/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file discord_colorize-0.0.4.tar.gz
.
File metadata
- Download URL: discord_colorize-0.0.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22d682a3fe07d43914e7b77127a70e0bb1c03f8f5c4cb779832ad797dd5d2caa |
|
MD5 | be877116cc8f6cce6763bcc5b3f47342 |
|
BLAKE2b-256 | 169915674dfe27247988c13b26f4e88d18129367d48cdf2f985b60cb0caaed75 |