Purraka
Purraka is a market analytics tool. To operate, she needs a MariaDB database. Her goal is to crawl the market and save its content to a database for research purpose.
What it does
Crawler
A crawler will periodically access Eldarya's market and copy everything it finds. Everything. The database has to be initialized with the bundled .SQL
file.
Discord Bot
Purraka will send the cheapest item on the market to a dedicated channel. You can invite her by clicking here.
Commands
Right now, only the basics are here.
Setting a callback channel
This is the channel she will be sending items to.
@Purraka#4972 set channel callback
Getting the callback channel
Use this if you're unsure what channel she will send her items to. If she doesn't respond, make sure she actually has a callback channel.
@Purraka#4972 get channel callback
How to install
- Run
go get -u -fix gitlab.com/NatoBoram/Purraka
- Setup a MariaDB server
- Import
purraka.sql
- Run the bot. During its first run, it will attempt to connect using default credentials and save its configuration in
./purraka/db.json
, ./purraka/header.json
and ./purraka/discord.json
.
- Edit the file with the appropriate user and password.