An API wrapper for Discord's slash commands.
Docs are hosted on ReadTheDocs.
you are required to make the slash commands via the Discord API. Currently this is not possible via this API wrapper.
Simple bot that responds with "hi"
fromdiscordSplashimportRunimportdiscordSplash@discordSplash.command(name='hello')asyncdefhello(data):
awaitdata.respond(discordSplash.ReactionResponse("hi"))
Run('TOKEN')Presence Example
fromdiscordSplashimportRun, PresenceimportdiscordSplashx=Presence(text='testing', presenceType=discordSplash.PresenceType.Game)
Run('TOKEN', x)Use pip install discordSplash