Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Updating the Bot for Newly TypeScripted Source References #74

Open
WeWuzNidokangz opened this issue Jun 14, 2020 · 0 comments
Open

Updating the Bot for Newly TypeScripted Source References #74

WeWuzNidokangz opened this issue Jun 14, 2020 · 0 comments

Comments

@WeWuzNidokangz
Copy link

(I don't think the branch of this bot is maintained anymore, but an FYI for anybody using a fork...)

Recently, this bot became unable to download and reference some source code data from Pokemon Showdown because the files such as format.js were converted to TypeScript ( smogon/pokemon-showdown@a7948c7#diff-ec96f901576fa99367c028b815c0370d ).

Thankfully, Zarel has provided an alternative method of hosting formats.js on Showdown itself ( http://play.pokemonshowdown.com/data/formats.js ), similar to how items.js, etc, are already referenced in this repository. You should be able to make use of this in a fork of this bot by making a change similar to this in your data-downloader.js:-

WeWuzNidokangz@9216150

  • You may need to restart the bot a couple of times to avoid errors after making this change, as it seems to be structured in such a way that modules can try to access downloaded data before refreshing it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant