zynko
A biblioteca oficial para bots do Zynko em Python: gateway com reconexão, cache de servidores, canais e membros, a API inteira, comandos com "/", cartões e botões, e voz (tocar e ouvir áudio nas salas). Feita com asyncio.
pip install zynko
pip install "zynko[voice]" # com voz
import os
import zynko
client = zynko.Client(intents=zynko.Intents.GUILDS | zynko.Intents.MESSAGES)
@client.on("message_create")
async def ping(msg: zynko.Message):
if not msg.mine and msg.content == "!ping":
await msg.reply("pong")
client.run(os.environ["ZYNKO_TOKEN"])
Voz:
voice = await client.join_voice(channel_id)
voice.player.enqueue("https://exemplo.com/musica.mp3")
Python 3.10 ou mais novo. Para tocar arquivos e links, o ffmpeg precisa estar instalado.
Exemplos em examples/: ping.py, dado.py (comandos, cartão e botões) e
musica.py.
Documentação: https://docs.zynko.org/bots/python · Crie seu bot: https://dev.zynko.org
Licença MIT.
Metadata
Release files for zynko 0.1.0
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 |
|---|---|---|---|---|
| zynko-0.1.0.tar.gz | 36.8 kB | Without provenance | Details for zynko-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zynko-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for zynko-0.1.0-py3-none-any.whl |
Total release size: 68.6 kB
Release files / zynko-0.1.0.tar.gz
| Download URL | zynko-0.1.0.tar.gz |
|---|---|
| Size | 36.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4b1ea57261dc72a904a2b5704201f201f8a664d273d8a3b527ccff484659bbb
|
|
BLAKE2b-256 checksum How to use checksums |
f1685ee1ec775573898d684093a72120b46ab5540bf01940ef5f8898e75215cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / zynko-0.1.0-py3-none-any.whl
| Download URL | zynko-0.1.0-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60db0015b374fa9defd00443a5ac005e84aa830cacd65567c20a38fded5cffe6
|
|
BLAKE2b-256 checksum How to use checksums |
26e05c4055aa063f5ac032c8edea39154ab305879991d9f1cf21669b52201e46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for zynko 0.1.0
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.