Skip to content

Commit

Permalink
moved and renamed file
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwai committed Mar 2, 2024
1 parent bc99d18 commit 3269dbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/bot/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ use crate::{
logging, mysql_lib,
};

use super::{checks, setup_command};
use super::checks;

mod setup;

/// ping command
#[poise::command(slash_command, prefix_command)]
Expand Down Expand Up @@ -116,5 +118,5 @@ pub async fn setup(
.await?;
return Ok(());
}
setup_command::setup(ctx, role_mention, channel_mention, flag, number, rest).await
setup::setup(ctx, role_mention, channel_mention, flag, number, rest).await
}
File renamed without changes.
1 change: 0 additions & 1 deletion src/bot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use crate::mysql_lib::NewGuild;

mod checks;
mod commands;
mod setup_command;

/// User data, which is stored and accessible in all command invocations
#[derive(Debug)]
Expand Down

0 comments on commit 3269dbe

Please sign in to comment.