This update adds the refresh command, which takes an optional parameter language_code. Here's an example usage:
!refresh original_en
This would get the original_en.json file from Discord-Werewolf-Languages and load it into lang.
It's optional, but if not added, it defaults to reloading MESSAGE_LANGUAGE from your settings file. If you put a random string that isn't a language in languages.json from the repo in the parameters or MESSAGE_LANGUAGE, it will default to en.json.
The startup load also gets it from GitHub, and the old lang folder and its contents have been deleted because of this.
This update adds the refresh command, which takes an optional parameter
language_code
. Here's an example usage:This would get the
original_en.json
file from Discord-Werewolf-Languages and load it intolang
.It's optional, but if not added, it defaults to reloading
MESSAGE_LANGUAGE
from your settings file. If you put a random string that isn't a language inlanguages.json
from the repo in the parameters orMESSAGE_LANGUAGE
, it will default toen.json
.The startup load also gets it from GitHub, and the old
lang
folder and its contents have been deleted because of this.