Skip to content

Commit

Permalink
Merge pull request #48 from caphosra/feature/opposed
Browse files Browse the repository at this point in the history
Implement commands for opposed rolls
  • Loading branch information
caphosra authored Aug 5, 2024
2 parents 8e02315 + 8fad8f9 commit 75a7b51
Show file tree
Hide file tree
Showing 2 changed files with 394 additions and 0 deletions.
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

0 comments on commit 75a7b51

Please sign in to comment.