Getting started
Installation#
Prerequisite: Install Python 3.8+ on your local environment.
Use the package manager pip to install dispair.
QuickStart#
In this quickstart example, we:
- Create a
dispair.Routerand create an interaction route - Define a
dispair.WebhookClientand pass in our necessary environment variables: our discordBOT_TOKEN, our discordAPP_ID, and our discordAPP_PUBLIC_KEY, all of which we can find at the Discord Developer Portal - Run our client