diff options
Diffstat (limited to 'src/commands/meme/history.rs')
| -rw-r--r-- | src/commands/meme/history.rs | 2 |
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?; |
