Skip to content

Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing. Edited to support selfbots.

License

Notifications You must be signed in to change notification settings

nshout/poise-self

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Currently not working. Use Serenity-self instead.

Poise-self

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

  • user account: user tokens are allowed making this a great choice for selfbots
  • 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

Fork Changes

Changed to serenity-self 1.13.0-alpha to allow user tokens for the development of selfbots.

Credits

  • Poise for the original Discord API wrapper
  • Serenity for the original Discord API wrapper
  • @Suffix for testing and helping with bug hunting

How to use

Add the following to your Cargo.toml file:

[dependencies]
poise = { git = "https://github.com/nshout/poise-self", branch = "current" }

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 current, next or serenity-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 selfbot via a PR!

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

About

Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing. Edited to support selfbots.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%