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