From 18c623db80caf69033968db7a170b66436b1f2b6 Mon Sep 17 00:00:00 2001 From: Ashwin Date: Mon, 25 Jan 2021 15:06:33 -0500 Subject: [PATCH] Update trellobot.js Fix ERR_INVALID_ARG_TYPE error. --- trellobot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trellobot.js b/trellobot.js index b3b9fab..4c828b9 100644 --- a/trellobot.js +++ b/trellobot.js @@ -316,7 +316,7 @@ events.on('updateCheckItemStateOnCard', (event, board) => { events.on('maxId', (id) => { if (latestActivityID == id) return latestActivityID = id - fs.writeFileSync('.latestActivityID', id) + fs.writeFileSync('.latestActivityID', id + "") }) const send = (embed, content = ``) => conf.channel.send(`${content} ${conf.contentString}`, {embed:embed}).catch(err => console.error(err))