Skip to main content

Overview

Sorionlib provides tools for building Discord bots, including a command builder, event system, and middleware support.

Command builder

Create commands with a fluent API:

Command options

Slash commands

Register slash commands with Discord:

Event system

Listen to Discord events:

Available events

Middleware

Add middleware to process commands:

Example bot setup

Complete example of a Discord bot: