An API wrapper for Discord's slash commands. Written in Python.
Reason this release was yanked:
wrong version. use 0.0.6a3
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=discordSplash.PresenceType.Game)
Run('TOKEN', x)
Installation
Use I cannot find out how to upload to PyPi. Use pip install discordSplash
python3 setup.py install
. Sorry for the inconvenience
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.6a2.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for discordSplash-0.6a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbfb4d6b42b2011afaf4c29fc53ae599632df9fb9f0e8fea6182997dae472f4 |
|
MD5 | cc497e30a049f1b199dcb4aac43013ed |
|
BLAKE2b-256 | 2733b92d23cbc68b5c23512834be05b5ffcdf8970782b076098a2cfd9774982d |