Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacherr committed Oct 25, 2024
1 parent 13af4d1 commit ec05eaf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions assyst-core/src/command/misc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ pub async fn patronstatus(ctxt: CommandCtxt<'_>) -> anyhow::Result<()> {
match entitlement_status {
Some(Some(e)) => format!("This server is an activated premium server. It was activated by <@{0}> ({0}).", e.user_id),
Some(None) => format!(
"This server is not activated a premium server. You can activate it [here](<https://discord.com/application-directory/{}/store/{}>).",
"This server is not an activated premium server. You can activate it [here](<https://discord.com/application-directory/{}/store/{}>).",
CONFIG.bot_id,
CONFIG.entitlements.premium_server_sku_id,
),
Expand Down Expand Up @@ -307,7 +307,9 @@ pub async fn topcommands(ctxt: CommandCtxt<'_>, command: Option<Word>) -> anyhow
.await
.context("Failed to get command usage stats")?;

let rate = diff_lock.get_mut(command_name).map_or(0, assyst_common::util::rate_tracker::RateTracker::get_rate);
let rate = diff_lock
.get_mut(command_name)
.map_or(0, assyst_common::util::rate_tracker::RateTracker::get_rate);

ctxt.reply(format!(
"Command `{command_name}` has been used **{}** times. ({rate}/hr)",
Expand Down

0 comments on commit ec05eaf

Please sign in to comment.