discord-user-history
This package helps to communicate between a python discord bot and our service api. To use the package you'll need a verification token. You can request verification tokens via email. (iampekka058@gmail.com)
Install the package
pip install discord-user-history
Documentation
The Package is in an early state of development. The documentation will be edited soon.
User Object
User replicates a discord user.
- uuid (A uniqe id given by discord)
- name (e.g. IamPekka058)
- id (e.g. #0000)
user = User(uuid, name, id)
string getID()
Returns id of user.
string getName()
Returns name of user.
string getUUID()
Returns uuid of user.
string getPrintable()
Returns printable user object. Format: (Name)#(ID)<(UUID)>
User getUser(uuid)
Returns an User type object with information, if user with given uuid exists. If no user exists the method returns None.
service = HistoryService(token)
user = service.getUser(uuid)
bool existsUser(uuid)
Returns a bool, indicating if a user with given uuid exists. Returns false, if user doesn't exist.
service = HistoryService(token)
statement = service.existsUser(uuid)
createUser(uuid)
service = HistoryService(token)
service.createUser(uuid)
registerChanges(uuid, id, name)
service = HistoryService(token)
service.registerChanges(uuid, new_profile_id, new_profile_name)
Metadata
Release files for discord-user-history 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discord_user_history-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for discord_user_history-0.0.3-py3-none-any.whl |
Release files / discord_user_history-0.0.3-py3-none-any.whl
| Download URL | discord_user_history-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1b8c4817869c4634548ba796bc080a6bae92134ac6329d403b380f135aee820
|
|
BLAKE2b-256 checksum How to use checksums |
c11f2de0254e8339a04512e5af5f2b0538df46132831b0606eef52f1b2690771
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for discord-user-history 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.