Dispy
Advantages
- Package with
async/awaitsupport - Wrappers and decorators support
- Simple code with syntax sugar
- Minimal python version is 3.8
- Readable library code
Getting started
Dispy is package for creating bots in Discord. This package use discord API and discord Gateway for handle events or, for example, sending messages. Bot use for different goals; handle information on your server, creating mini games in discord, auto moderation in your discord server and other.
For example, you can reply to message that is sended by any user using this code:
from disspy import Client, Message # Import package
import os
TOKEN = os.environ["TOKEN"]
client = Client(TOKEN) # Create a client
@client.on_message("create") # On message create
async def on_messagec(message: Message): # message - sended message
await message.reply("Hello!") # Reply to a message
client.run() # Run client
Download package
Download latest version (needs pip)
# Windows
pip install -U disspy
# MacOS / Linux
python3 -m pip install -U disspy
Download dev version (needs git and pip)
# Windows
git clone https://github.com/itttgg/dispy.git
cd dispy
pip install -U .
# MacOs / Linux
git clone https://github.com/itttgg/dispy.git
cd dispy
python3 -m pip install -U .
Links
https://github.com/itttgg/dispy - GitHub repo
https://pypi.org/project/disspy - Project site on PyPi
https://disspy.readthedocs.io - Site with docs for package
https://discord.gg/QsE5DSQrsx - Discord server
Metadata
Release files for disspy 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| disspy-0.7.tar.gz | 29.9 kB | Without provenance | Details for disspy-0.7.tar.gz |
Release files / disspy-0.7.tar.gz
| Download URL | disspy-0.7.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68ea49086f9535e1628d0f630699f9f0555e43f7f77e78824a91f3f6cf6d5c65
|
|
BLAKE2b-256 checksum How to use checksums |
db16b4250d28ab4690062a78cf6ce4dfe929e48176ca03ccba109560adc2c8da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.0
|
Security for disspy 0.7
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.