Disecon
Project description
Disecon
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 = 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 = 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 = 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 = bank(amount=100, user_ID=Discord User ID)
bank.sub()
Example
I'm going to show a little of how Disecon would work if you will download the library.
import discord
from Disecon import *
Project details
Release history Release notifications | RSS feed
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 Disecon-0.6.3.tar.gz
.
File metadata
- Download URL: Disecon-0.6.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 789968b0bf65159c494ee47e8e048b0a33787c66a4d5c304dc60b43c082eb2d2 |
|
MD5 | 4c0032e649633d6ea7469239ff9ca35b |
|
BLAKE2b-256 | 31310a84e182f342a10c0d2f58ac848e215b65c4fea88ae30a3a299f89f77c0b |