poise

Crates.iopoise
lib.rspoise
version0.6.1
sourcesrc
created_at2021-11-05 14:19:17.697109
updated_at2024-01-11 14:11:07.317122
descriptionA Discord bot framework for serenity
homepage
repositoryhttps://github.com/serenity-rs/poise/
max_upload_size
id477361
size518,114
poise (github:serenity-rs:poise)

documentation

README

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.

Commit count: 648

cargo fmt