An API wrapper for Discord's slash commands. Written in Python.
Reason this release was yanked:
use latest version
Project description
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=5)
Run('TOKEN', x)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
discordSplash-0.6a0.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for discordSplash-0.6a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4586a285d497ed82592628b4ff4a7744d322b72504bad4426cc234b494bf2c88 |
|
MD5 | 96835010d4dbddd698e6ea4fe4b5d2f6 |
|
BLAKE2b-256 | 8f11460debd7abb19605e2953881363af84a8a4bc1d960b84ec8a55aba66ee89 |