/BevyJamHNSorted

A small tool that sorts the Bevy jam proposition in the way Hacker News sort posts.

Primary LanguageRust

BevyJamHNSorter

A small tool that fetched the bevy #jam-theme-voting channel and sort them with an HN/Reddit inspired rule.

Instruction

To use this tool you must define the DISCORD_AUTHORIZATION env variable, this value is used by this tool to fetch the messages in the channel.

Fetching will be done with the rights this authorization header has. The header value can be retrieved by using your browser while being connected to Discord.

export DISCORD_AUTHORIZATION='YOUR AUTHORIZATION TOKEN HERE'
cargo run