Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
cycle-five committed Feb 26, 2024
1 parent b504a44 commit c1ce8ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions crack-core/src/commands/settings/set/set_idle_timeout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::Error;
use poise::CreateReply;

/// Set the idle timeout for the bot in vc.
#[cfg(not(tarpaulin_include))]
#[poise::command(prefix_command, owners_only, ephemeral, aliases("set_idle_timeout"))]
pub async fn idle_timeout(
ctx: Context<'_>,
Expand Down
3 changes: 3 additions & 0 deletions crack-core/src/db/guild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ impl GuildEntity {
}

/// Create or update the welcome settings for a guild.
#[cfg(not(tarpaulin_include))]
pub async fn write_welcome_settings(
pool: &PgPool,
guild_id: i64,
Expand All @@ -154,6 +155,7 @@ impl GuildEntity {
}

/// Update the premium status for a guild.
#[cfg(not(tarpaulin_include))]
pub async fn update_premium(
pool: &PgPool,
guild_id: i64,
Expand All @@ -176,6 +178,7 @@ impl GuildEntity {
}

/// Write the settings for a guild to the database.
#[cfg(not(tarpaulin_include))]
pub async fn write_settings(
pool: &PgPool,
settings: &crate::guild::settings::GuildSettings,
Expand Down

0 comments on commit c1ce8ef

Please sign in to comment.