Remove code comments
This commit is contained in:
parent
a5e58493d8
commit
52d7c13013
17 changed files with 18 additions and 335 deletions
|
|
@ -1,14 +1,8 @@
|
|||
//! The registry of feature modules. Add a feature by creating a file here that
|
||||
//! implements [`super::module::Module`] and listing its constructor in [`all`].
|
||||
|
||||
pub mod builtins;
|
||||
pub mod dice;
|
||||
|
||||
use super::module::Module;
|
||||
|
||||
/// Construct the default set of modules, in priority order (earlier modules win
|
||||
/// command-name collisions). Each network's [`super::Bot`] gets its own fresh
|
||||
/// set, so stateful modules keep independent per-network state.
|
||||
pub fn all() -> Vec<Box<dyn Module>> {
|
||||
vec![
|
||||
Box::new(builtins::Builtins),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue