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

#83 in Web programming

Download history 1874/week @ 2024-07-20 1785/week @ 2024-07-27 1453/week @ 2024-08-03 1968/week @ 2024-08-10 1668/week @ 2024-08-17 1623/week @ 2024-08-24 1871/week @ 2024-08-31 1721/week @ 2024-09-07 1735/week @ 2024-09-14 1913/week @ 2024-09-21 1870/week @ 2024-09-28 1384/week @ 2024-10-05 1632/week @ 2024-10-12 1555/week @ 2024-10-19 1553/week @ 2024-10-26 1408/week @ 2024-11-02

6,256 downloads per month
Used in 18 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–29MB
~421K SLoC