Amisynth
Amisynth es un paquete para integrar funciones personalizadas en Discord.
Instalación
Para instalar este paquete, usa pip:
pip install Amisynth
Codigo Basico
from Amisynth.client import AmiClient
bot = AmiClient(prefix="!")
bot.new_command(name="test",
type="text",
code="Hi everyone!")
bot.run("""TOKEN BOT""")
Codigo con Cogs
AmiClient(prefix="!", cogs="carpeta de cogs")
Eventos
from Amisynth.client import AmiClient
bot = AmiClient(prefix="!")
bot.new_event(name="$onMessage",
code="Hi everyone!")
bot.run("""TOKEN BOT""")
Cog Exmaple
# cog/test.py
def setup(bot):
bot.new_command(name="test",
type="text",
code="Hi everyone!")
Metadata
Release files for Amisynth 0.3.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amisynth-0.3.14.tar.gz | 53.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amisynth-0.3.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 178.5 kB
Release files / amisynth-0.3.14.tar.gz
| Download URL | amisynth-0.3.14.tar.gz |
|---|---|
| Size | 53.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
366c48be042d2c5e75994633f3e3d27a9d29d2f9f37400839a88f9b1cf3d4da0
|
|
BLAKE2b-256 checksum How to use checksums |
fe04519e615c58c056ca5e02dac806e2711d11d79ab593ccc76a226080d94445
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / amisynth-0.3.14-py3-none-any.whl
| Download URL | amisynth-0.3.14-py3-none-any.whl |
|---|---|
| Size | 124.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9aed9a3822df862d9d2e8060f2f639f0314d7032b9e3ae6a0665a4aae956811
|
|
BLAKE2b-256 checksum How to use checksums |
c3780e3767d247180fa7b77b654c29748ceb7b1c05dda083553dcb1e22be9747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|