diff --git a/src/commands/pacman.rs b/src/commands/pacman.rs index 8f0222a..ae16c3f 100644 --- a/src/commands/pacman.rs +++ b/src/commands/pacman.rs @@ -14,7 +14,7 @@ pub fn query_pacman(ctx: Context, msg: Message, args: Vec<&str>) { |_e| EMPTY_RESULT, ); // this is 1 for most packages and 2 if there’s a second version in testing - if response.results.is_empty() { + if response.results.len() != 0 { respond_with_results(msg.channel_id, &response.results, &ctx); return; }