Add more logs

This commit is contained in:
Christopher Cookman 2023-09-12 13:19:21 -06:00
parent a5758d1702
commit f6339ccefa
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -13,7 +13,9 @@ const pan_hook = new Discord.WebhookClient({"url": config.discord.pan_webhook});
let user = new SteamUser();
let tf2 = new TeamFortress2(user);
// Get lang file from tf wiki https://wiki.teamfortress.com/w/images/c/cf/Tf_english.txt
console.log(`${colors.yellow("[TF2]")} Getting TF2 Lang File from wiki`);
axios.get("https://wiki.teamfortress.com/w/images/c/cf/Tf_english.txt").then((res) => {
console.log(`${colors.yellow("[TF2]")} Got TF2 Lang File from wiki`);
// set lang from body
tf2.setLang(res.data)
// Save a local copy