Skip to content

twilight-rs/template

Repository files navigation

Twilight Template

An opinionated Twilight bot template.

The template is built in a modular fashion and provides the following features:

  • Gateway session resumption between processes
  • Clean shutdown that awaits event handler completion
  • An administrative /restart <shard> command

Usage

  1. Install cargo-generate: cargo install cargo-generate
  2. Create a bot based upon this template: cargo generate twilight-rs/template

About

Bot template built upon Twilight.

Topics

Resources

License

Stars

Watchers

Forks

Languages