Skip to content

Dispike

dispike

⚙️ A simple to use, powerful framework for creating stateless, independent bots using Discord Slash Commands.

⚡ Powered by FastAPI.


Before we start.

This library is currently in beta. While things are more stable than earlier releases, breaking changes can still be introduced. It's recommended to stay in the loop with the repository such as joining our Discord server for announcements.

This library assumes you will be building an independent server to receive and send requests from/to Discord directly. This may cause higher bandwidth usages and incur costs with your cloud provider. If you prefer to listen over the Discord gateway, you should follow the progress of Discord.py instead.

This library enables middleware to verify and accept connections only from Discord per documentation. Although Discord is trusted, you should operate this bot behind a reverse proxy such as Nginx or Caddy, because of this, or use a "serverless" platform such as Amazon Lambda (with an adapter) or Google Cloud App Engine.

If you want to do local testing before creating a server, you can use free tools such as Ngrok.

Join our Discord Server for discussion and help

This library is only tested on python versions

  • 3.9
  • 3.8 ^*
  • 3.7
  • 3.6

API Parity List

Info

Just because it's been implemented does not mean it's in the best way. Help out by contributing to this library!

API Endpoint Implementation
Get Global Application Commands ✅ Implemented
Create Global Application Command ✅ Implemented
Edit Global Application Command ✅ Implemented
Delete Global Application Command ✅ Implemented
Create Guild Application Command ✅ Implemented
Edit Guild Application Command ✅ Implemented
Delete Guild Application Command ✅ Implemented
Create Interaction Response ✅ Implemented
Edit Original Interaction Response ✅ Implemented
Delete Original Interaction Response ✅ Implemented
Create Followup Message ✅ Implemented
Edit Followup Message ✅ Implemented
Delete Followup Message ✅ Implemented
Data Models and Types ✅ Implemented
ApplicationCommand ✅ Implemented
ApplicationCommandOption ✅ Implemented
ApplicationCommandOptionType ✅ Implemented
ApplicationCommandOptionChoice ✅ Implemented
Interaction ✅ Implemented
Interaction Response ✅ Implemented
Message Components ✅ Implemented
Buttons (Message Components) ✅ Implemented
Action Rows (Message Components) ✅ Implemented
Message Select (Message Components) ✅ Implemented
Message Attachments ⚠️ Not Implemented

Special Thanks


  1. Coverage tested on this version of python.