Skip to main content

A simple discord rank card written in python.

Project description

Python-discord-rankcard

img

Usage


  self.rankcard = RANKCARD()
  card = self.rankcard.rank_card(
                      username="Username", # user name
                      avatar="https://cdn.discordapp.com/embed/avatars/0.png", # user avatar (e.g., ctx.author.avatar_url)
                      level=1, # user level
                      rank=1, # user rank
                      current_xp=0, # user xp
                      custom_background= "#000000", # background colour
                      xp_color="#FF7A7A", # Foreground colour
                      next_level_xp=100) # Next level xp


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

Python-discord-rankcard-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Python_discord_rankcard-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file Python-discord-rankcard-0.0.2.tar.gz.

File metadata

  • Download URL: Python-discord-rankcard-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for Python-discord-rankcard-0.0.2.tar.gz
Algorithm Hash digest
SHA256 663e645628a907a4b7dde7fe95df41a1409a561e17e0a649a0e0ab1a1570666e
MD5 beb2159db12f397f4f831b4704946af8
BLAKE2b-256 696128936b248ac5a510c089abf35a4bc2abbada28489e46fe14851eeafb999f

See more details on using hashes here.

File details

Details for the file Python_discord_rankcard-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: Python_discord_rankcard-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for Python_discord_rankcard-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad0b9944440a4c9e51796b268314082b16f16abcb92be8ac544d485378d6b3ea
MD5 321aff4942190fe2fc5ac73055522c42
BLAKE2b-256 b3b53864fd586d4efad7680156dd4a320da81513efc262077c6c50b5cbab7293

See more details on using hashes here.

Supported by

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