Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 562 Bytes

File metadata and controls

17 lines (11 loc) · 562 Bytes

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