From db52e639b85d79bed870020aec7a045851ca5ee3 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 27 Nov 2023 21:37:52 -0500 Subject: feat: add reactboard --- src/main.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 74ef531..a93e102 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,14 +1,15 @@ use std::{error, time}; -use handler::pinboard::PinBoard; use log::*; use poise::serenity_prelude as serentiy; +use settings::Settings; mod api; mod colors; mod commands; mod consts; mod handler; +mod settings; mod utils; type Error = Box; @@ -16,14 +17,14 @@ type Context<'a> = poise::Context<'a, Data, Error>; #[derive(Clone)] pub struct Data { - pin_board: Option, + settings: Option, } impl Data { pub fn new() -> Self { - let pin_board = PinBoard::new(); + let settings = Settings::new(); - Self { pin_board } + Self { settings } } } -- cgit v1.2.3