aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-05-11 22:33:05 -0400
committerNathan Perry <np@nathanperry.dev>2024-05-11 22:33:05 -0400
commit9319e0b9987114ffef2cc2be2d00f127925ba3a8 (patch)
tree2456f0e978009bef5c1f8b4d9cf2be07c2424842
parent76ef5c0651ef11b3594e8c2d71fec8b293ab9bb0 (diff)
whitespace fix
-rw-r--r--src/commands/meme/history.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/meme/history.rs b/src/commands/meme/history.rs
index d2956e6..edc75cd 100644
--- a/src/commands/meme/history.rs
+++ b/src/commands/meme/history.rs
@@ -116,7 +116,7 @@ pub async fn wat(ctx: &Context, msg: &Message, _: Args) -> CommandResult {
#[aliases("hist")]
pub async fn history(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
let n = args.single_quoted::<usize>().unwrap_or(CONFIG.default_hist);
-
+
if n > CONFIG.max_hist {
debug!("user requested more than MAX_HIST ({}) items from history", CONFIG.max_hist);
util::send(ctx, msg.channel_id, "YER PUSHIN ME OVER THE FUCKIN LINE", true).await?;