19 releases

0.6.1 Jan 11, 2024
0.6.1-rc1 Dec 10, 2023
0.6.0 Nov 28, 2023
0.5.5 Apr 27, 2023
0.0.0 Nov 5, 2021

#79 in Web programming

Download history 1036/week @ 2024-01-03 1339/week @ 2024-01-10 1478/week @ 2024-01-17 1112/week @ 2024-01-24 883/week @ 2024-01-31 1372/week @ 2024-02-07 1313/week @ 2024-02-14 1352/week @ 2024-02-21 1568/week @ 2024-02-28 1392/week @ 2024-03-06 1391/week @ 2024-03-13 1859/week @ 2024-03-20 2022/week @ 2024-03-27 2114/week @ 2024-04-03 1809/week @ 2024-04-10 1236/week @ 2024-04-17

7,416 downloads per month
Used in 13 crates

MIT license

295KB
5K SLoC

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.

Dependencies

~14–30MB
~458K SLoC