purraka

command module
v0.0.0-...-96d9655 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

README

Purraka

pipeline Status Go Report Card GoDoc StackShare

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.

Purraka

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

  1. Run go get -u -fix gitlab.com/NatoBoram/Purraka
  2. Setup a MariaDB server
  3. Import purraka.sql
  4. 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.
  5. Edit the file with the appropriate user and password.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL