An API wrapper for Discord's slash commands. Written in Python.


Keywords
api-wrapper, discord, discord-bot, discord-slash-commands, discord-splash
License
GPL-3.0
Install
pip install discordSplash==0.0.9a6

Documentation

discord-splash

An API wrapper for Discord's slash commands.

Maintainability Documentation Status Dependabot Status

Docs:

Documentation Status

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