mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Prelude/Main: rework hook system
This commit is contained in:
parent
b819509244
commit
238e44a64c
5 changed files with 96 additions and 47 deletions
|
@ -49,7 +49,7 @@ impl TypeMapKey for OsuClient {
|
|||
/// - Commands on the "osu" prefix
|
||||
/// - Hooks. Hooks are completely opt-in.
|
||||
///
|
||||
pub async fn setup(
|
||||
pub fn setup(
|
||||
path: &std::path::Path,
|
||||
data: &mut TypeMap,
|
||||
announcers: &mut AnnouncerHandler,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue