Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding json file with data from hypixel API #265

Open
treeot opened this issue Apr 20, 2024 · 1 comment
Open

Adding json file with data from hypixel API #265

treeot opened this issue Apr 20, 2024 · 1 comment

Comments

@treeot
Copy link
Contributor

treeot commented Apr 20, 2024

Regarding /wikithis, can I take data from the hypixel api and store/use it in the code?

@Swofty-Developments
Copy link
Owner

Sure! If this were to be implemented, I'd want it to be like HypixelService in the same way that SongService runs, in that it's optional as an option in the resources.json, meaning the /wikithis command for example wouldn't work with this option turned off in the same way that the song events don't run if the song service isn't started.

Refs;
SkyBlockSongHandler
Checks to see if should start service

You can save the result of the search to a file that gets updated on startup if you wish, probably better than using up bandwith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants