Skip to main content

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)}
    ```
    """

Extra Information

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

discord_colorize-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

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

Hashes for discord_colorize-0.0.4.tar.gz
Algorithm Hash digest
SHA256 22d682a3fe07d43914e7b77127a70e0bb1c03f8f5c4cb779832ad797dd5d2caa
MD5 be877116cc8f6cce6763bcc5b3f47342
BLAKE2b-256 169915674dfe27247988c13b26f4e88d18129367d48cdf2f985b60cb0caaed75

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page