Skip to main content

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

Reason this release was yanked:

oops

Project description

discord-splash

An API wrapper for Discord's slash commands.

Docs:

coming soon™—use docstings for now.

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


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.5a0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

discordSplash-0.5a0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file discordSplash-0.5a0.tar.gz.

File metadata

  • Download URL: discordSplash-0.5a0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for discordSplash-0.5a0.tar.gz
Algorithm Hash digest
SHA256 bcf0cd8665266a8414a7ce91a8ac9c09a3e886180cc07674d59b7f9cf10187c3
MD5 94f594d5274e58bb76e3e4f8c3b43e2d
BLAKE2b-256 91d482c1e092ead03053f4c5252189bd21ea1db8ebbbc6ea893bf0c565aa65c9

See more details on using hashes here.

Provenance

File details

Details for the file discordSplash-0.5a0-py3-none-any.whl.

File metadata

  • Download URL: discordSplash-0.5a0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for discordSplash-0.5a0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad7b5124a945b68cc0fe27312e08b93d99fc134aa99641a1eaa693bbe210f96
MD5 ad49908d944f5defabd75807cc690536
BLAKE2b-256 2885d33716a8ba76b1b34449f5886278a0ec843c795d6818c9f9d817df74a655

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page