Pre-release
This release is a pre-release and may not be stable for production use.
discord-splash
An API wrapper for Discord's slash commands.
Docs:
Docs are hosted on ReadTheDocs.
NOTE:
you are required to make the slash commands via the Discord API. Currently this is not possible via this API wrapper.
Examples:
Simple bot that responds with "hi"
from discordSplash import Run
import discordSplash
@discordSplash.command(name='hello')
async def hello(data):
await data.respond(discordSplash.ReactionResponse("hi"))
Run('TOKEN')
Presence Example
from discordSplash import Run, Presence
import discordSplash
x = Presence(text='testing', presenceType=discordSplash.PresenceType.Game)
Run('TOKEN', x)
Installation
Use pip install discordSplash
Metadata
Release files for discordSplash 0.0.9a10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| discordSplash-0.0.9a10.tar.gz | 28.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discordSplash-0.0.9a10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.9 kB
Release files / discordSplash-0.0.9a10.tar.gz
| Download URL | discordSplash-0.0.9a10.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f570eb144d6353f6323824e08dba616966bd0063d3d63defaabc7c74ebe90b59
|
|
BLAKE2b-256 checksum How to use checksums |
857ddc404dc458616542594589e096d8605789062790ffc58a94378c992bbff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0
|
Release files / discordSplash-0.0.9a10-py3-none-any.whl
| Download URL | discordSplash-0.0.9a10-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0699c8bcd8325de45d5ea34eee2e4ee3b7db8258d7a55a6f7107bd8ba328e506
|
|
BLAKE2b-256 checksum How to use checksums |
9e77ce70a0815535bc7a42601a9c3311f16064d6a734e20a8de34adca6e2b30c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0
|