Crate drftr

Source
Expand description

DRFTR is a utility library for creating Discord bots to draft anything with Poise and Serenity.

This library is designed to allow only one player to lock in their pick at a time, and for the draft pool to be a single shared pool. In other words, it does not yet support things like Magic: the Gathering drafts, though that is a feature I intend to build.

Structs§

ActivePlayer
A struct to represent a Discord user who is currently part of one or more Leagues.
DraftGuild
A container for any number of draft Leagues in a single Discord server.
League
A specific ongoing draft league.

Enums§

DraftGuildError
LeagueError

Traits§

DraftItem
Trait to implement on any type you make to represent the things being drafted.