Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement commands for opposed rolls #48

Merged
merged 3 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use serenity::prelude::{Context, Mutex};

use crate::commands::choose::ChooseCommand;
use crate::commands::create_sheet::CSCommand;
use crate::commands::opposed::{Op6Command, Op7Command};
use crate::commands::roll::RollCommand;
use crate::commands::set::SetCommand;
use crate::commands::skill::{Sk6Command, Sk7Command, SkBRPCommand, SkDGCommand, SkillCommand};
Expand Down Expand Up @@ -52,6 +53,8 @@ static REGISTERED_COMMANDS: Lazy<Vec<Box<dyn BotCommand + Sync + Send>>> = Lazy:
Box::new(ChooseCommand),
Box::new(CSCommand),
Box::new(RollCommand),
Box::new(Op6Command),
Box::new(Op7Command),
Box::new(Sk6Command),
Box::new(Sk7Command),
Box::new(SkDGCommand),
Expand Down Expand Up @@ -232,6 +235,7 @@ impl AsString for Roll {

pub mod choose;
pub mod create_sheet;
pub mod opposed;
pub mod roll;
pub mod set;
pub mod skill;
Expand Down
Loading
Loading