ApriBot is the resident bot in the Aprimarket Discord server.
The codebase comprises several parts:
hs/app/Main.hs
), which checks for new posts approximately once per minute;hs/python/predict.py
) which runs a scikit-learn
pipeline on the pokemontrades posts to determine whether each post is about Aprimon;hs/app/DiscordBot.hs
), which:
hs/app/Web.hs
), which the SvelteKit site usesweb
) which provides information about the bot and allows Reddit users to log in and manually, retroactively, label posts (so that they can be used for ML training);ApriBot is currently hosted on Fly.io.