Skip to content

Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing

License

Notifications You must be signed in to change notification settings

serenity-rs/poise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

81f6da4 · Feb 15, 2025
Nov 15, 2024
Nov 27, 2024
Nov 13, 2024
Feb 15, 2025
Jan 20, 2022
Jan 11, 2024
Nov 27, 2024
Nov 27, 2024
Sep 9, 2021
Dec 22, 2024
Oct 22, 2023

Repository files navigation

Build crates.io Docs Docs (git) License: MIT Rust: 1.74+

Poise

Poise is an opinionated Discord bot framework with a few distinctive features:

  • slash commands: completely define slash commands with a single function signature
  • flexible argument parsing: command parameters are defined with normal Rust types and parsed automatically
  • text commands: commands are agnostic over old text-based commands and slash commands
  • edit tracking: when user edits their message, automatically update bot response

How to use

Most information is in the API documentation. Also take a look at the examples, especially feature_showcase, to learn what poise can do.

If you're using a development version from git directly, you probably want to look at the documentation for the current or next branch instead.

For further questions, don't hesitate to join the support server: https://discord.gg/serenity-rs.

Bots using poise

For each bot, there's a list of notable features for you to take inspiration from.

You're welcome to add your own bot via a PR!

For more projects, see GitHub's Used By page.