rust-lang/discord-mods-bot

`?crate` command shows most recently released version rather than the latest version

ilyvion opened this issue · 0 comments

It was noticed today that the bot will output the last released version when using ?crate <crate>, regardless of whether that crate is truly the latest version of the crate, which differs in behavior from how crates.io and docs.rs behaves, e.g. As an example, here's an invocation with slotmap, which is one of the crates that exhibits this behavior currently:
image
As you can see by the release log for slotmap on crates.io, this is indeed the most recently released version:
image
but everyone expected the bot to show the 1.0.6 version, as it is the latest version.