Skip to content
/ PEE5 Public

Completely free and open-source, blazingly fast Discord bot that aims to be an alternative to MEE6

License

Notifications You must be signed in to change notification settings

obvMellow/PEE5

Repository files navigation

PEE5

Rust

Disclaimer: This bot is still in heavy development

Completely free and open-source, blazingly fast Discord bot that aims to be an alternative to MEE6

Usage

Adding the bot the your server

You can add the bot using this link

Self hosting

Also you can self host the bot.

Developing

Any contribution to the project is appreciated. If you want to help the development of this bot, please follow these guidelines.

Code Style

Just follow the Rust code style guide.

General Structure

When developing, keep the general structure of the code as following.

For slash commands:

  • All command files must be in src/commands.
  • The main command name should be run.
  • Command can have side effects.
  • The command call should be like the following:
let result: Result<()> = match command.data.name.as_str() {
    "example" => commands::example::run(&ctx, &command).await, // Arguments for the function can change.
    _ => Ok(()),
}

Click to see the actual code used in production.

For plugins:

  • All plugin files must be in src/plugins.
  • Main command name should be run.
  • Plugin can have side effects.
  • Plugin should be called in a place that it makes sense. For example, if the plugin is a command, it should be called on message event in the proper spot.

Finally just create a pull request and I will review it!

About

Completely free and open-source, blazingly fast Discord bot that aims to be an alternative to MEE6

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project