Skip to main content

Disecon

Project description

Disecon

PyPI PyPI - License

Disecon is a python economy library where you could make a full economy system really easy.

Installing

# Windows

pip install Disecon

# Lunix / Mac

python3 -m pip install Disecon

Useage

Starting Disecon

To start Disecon you need to do the following command bellow so that the database gets made. After you do the command you can delete the line that the command is on.

from Disecon import *

start()

Adding money

If you want to add some money into someones wallet you can follow the example bellow to add some money.

from Disecon import *

wallet = money.wallet(amount=100, user_ID=Discord User ID)

wallet.add()

If you want to add some money into somones bank you can follow the example bellow to add some money.

from Disecon import *

bank = money.bank(amount=100, user_ID=Discord User ID)

bank.add()

Subracting money

If you want to subract money from somones wallet do the following example bellow.

from Disecon import *

wallet = money.wallet(amount=100, user_ID=Disecon User ID)

wallet.sub()

If you want to subract money from someones bank you could follow the example bellow.

from Disecon import *

bank = money.bank(amount=100, user_ID=Discord User ID)

bank.sub()

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

Disecon-0.6.10.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file Disecon-0.6.10.tar.gz.

File metadata

  • Download URL: Disecon-0.6.10.tar.gz
  • Upload date:
  • Size: 5.2 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.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for Disecon-0.6.10.tar.gz
Algorithm Hash digest
SHA256 40e18c0a9be2a6dc23ac924d5ca46459703da19303e9e0105d3fbcb7b423f6dc
MD5 47f13fca72cf8b08d7e2961ed335c107
BLAKE2b-256 ea769b475a5c1199cd9f084b97d703fd0e6a5b9ef574f6c0c63784c6a9252632

See more details on using hashes here.

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