krissrex / discord-runescape-bot

Provides discord commands related to RuneScape. https://hub.docker.com/repository/docker/krissrex/rs-bot
2 stars 2 forks source link

!ge returns -1 as price #5

Closed krissrex closed 3 years ago

krissrex commented 3 years ago

Could be an issue with the GE API.

krissrex commented 3 years ago

https://runescape.wiki/w/Module:Exchange/Spade?action=raw does not return the price any more:

return {
    itemId     = 952,
    item       = 'Spade',
    value      = 3,
    limit      = 100,
    members    = false,
    category   = 'Tools and containers',
    examine    = 'A slightly muddy spade.',
    usage      = {
        'Grand Exchange Market Watch/Farming'
    }
}
krissrex commented 3 years ago

https://github.com/krissrex/discord-runescape-bot/blob/470de6fa36cddb6933f2b7a5b266ba076d3673ac/src/wiki/ge-price.ts#L12