fix urls and update builds

This commit is contained in:
Zack Rauen 2020-07-19 00:44:53 -04:00
parent ec33b23483
commit a4f9d61c79
4 changed files with 6 additions and 6 deletions

6
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ export default new class EmoteModule extends Builtin {
getUrl(category, name) {return EmoteURLs[category].format({id: Emotes[category][name]});}
getCategory(category) {return Emotes[category];}
getRemoteFile(category) {return Utilities.repoUrl(`data/emotes/${category.toLowerCase()}.json`);}
getRemoteFile(category) {return Utilities.repoUrl(`assets/emotes/${category.toLowerCase()}.json`);}
initialize() {
super.initialize();

View File

@ -49,7 +49,7 @@ export default new class LocaleManager {
downloadLocale(locale, hash = "") {
return new Promise(resolve => {
const options = {
url: Utilities.repoUrl(`data/locales/${locale}.json`),
url: Utilities.repoUrl(`assets/locales/${locale}.json`),
timeout: 2000,
json: true
};