charredgrass / charred-discord-bot

Personal Discord bot. Written in Typescript, run using node.js.
MIT License
1 stars 1 forks source link

Change !price for runescape items to use the RS wiki API instead of the official RS GE API #50

Closed charredgrass closed 3 years ago

charredgrass commented 3 years ago

This PR changes the !price command to use the Runescape Wikis API.

When invoked, the price command caches data from two endpoints (Item ID mappings and realtime price info.)

Testing needs to be done to get accurate prices and handle errors properly.