SebOuellette / LiveBot

An app that allows you to be inside a bot!
Apache License 2.0
730 stars 175 forks source link

Update discord.js and electron & prettier code #231

Closed Xaliks closed 1 year ago

Xaliks commented 1 year ago

Prettier .js : prettier --write "**/*.js" --single-quote --tab-width=4 .html .css prettier --write "**/*.{css,html}" --tab-width=4

Discord.js Updated discord.js to 14.9.0 Created custom <User|Channel>._typing caching

SebOuellette commented 1 year ago

I'm going to need to do some testing, but thanks for doing all this work! This looks very promising (as per usual @Xaliks)

SebOuellette commented 1 year ago

Okay I'm testing it. I noticed that all the members in the list appear offline, and I can't set the playing/watching/listening status. Are these working on your end?

SebOuellette commented 1 year ago

Here's a screenshot of the member list still showing all members as offline image

The activity status is working now :)

SebOuellette commented 1 year ago

Okay I found the issue, it was with the limit that was added to stop Livebot from lagging. Idk how, but it was just an if statement.. If you had too many members, none were displayed... I've updated it now to show only the first 100 members for each role, and it works now.