From 3bedb1dfbcc1fdeb578036de4d9aadff3879f57f Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Thu, 1 Apr 2021 13:07:41 -0500 Subject: [PATCH] Try without UTF 8 encoding --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 64832ec..bb63dd5 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ client.on("message", async message => { memberCount(message); break; case '$addroles': - execSync("wget --no-check-certificate --output-document=participants.csv https://docs.google.com/spreadsheets/d/1lufn28YR29OkCS4wH_WQXfCalAgJRi8_r4NCesJSbQY/export\?gid\=2119488170\&format\=csv", { encoding: 'utf-8' }); + execSync("wget --no-check-certificate --output-document=participants.csv https://docs.google.com/spreadsheets/d/1lufn28YR29OkCS4wH_WQXfCalAgJRi8_r4NCesJSbQY/export\?gid\=2119488170\&format\=csv"); csv().fromFile('participants.csv') .then(users => { users.forEach(function (user) {