Skip to content
DiscordKit
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Select language
English
Português (Brasil)
Menu
Start here
Introduction
Installation
Your first bot
Troubleshooting
Conventions
Conventions
Project structure
Environment variables
Gateway intents
Bootstrap
Commands
Commands
Your first command
Options and subcommands
Autocomplete
Interactions
Interactions
Buttons
Select menus
Modals
Route parameters
Cookbook
Cookbook
The project: a support desk
01 · Prepare and connect the bot
02 · Organize the Go application
03 · Commands and options
04 · Panel, components and permissions
05 · Build the JSON store
06 · Open and track tickets
07 · Filters, pages and autocomplete
08 · Test and operate the bot
09 · Explore the remaining API
Cookbook API map
Reference
DiscordKit and discordgo
The interaction model
Router
API overview
GitHub
Select theme
Dark
Light
Auto
Select language
English
Português (Brasil)
Documentation
/
DiscordKit
Conventions
A predictable structure for your Discord application.
Copy Markdown
Open text
↗︎
Project structure
Keep startup, handlers and business rules in separate packages.
Environment variables
Configure secrets and server IDs without editing source code.
Gateway intents
Subscribe only to the events your bot needs.
Bootstrap
Validate configuration, register routes and open the session.