KevinNovak / Friend-Time

Discord bot - Friend Time helps your server coordinate times and events by converting times mentioned in chat between time zones!

Home Page:https://novakevin.gitbook.io/friend-time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bot frequently goes offline

fluidityt opened this issue · comments

Same in ours, noticed for maybe two or three days

It's going offline a lot lately, is something going on?

same problem in our server - the bot is offline a lot. since I've been paying attention, the bot has been offline for 8 hours so far today

Same problem. Does anyone know if it will be working again or if there is another Bot that does the same?

Same deal I would be willing to help fund hosting if that is the main issue.

Been offline for at least a week now. Hoping for a fix soon as I really, really love the tool but I'm at the point where I'm almost ready to give up on it :(

I have to do some investigating but I believe this is related to loading all server data into memory, which was probably a bad decision to start with. I plan on converting this to use a database instead.

In the meantime, if anyone needs the bot to be online, you can always clone this project and run your own copy.

EDIT: As suspected the bot runs out of memory on startup:
Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

I'll need to create and move user timezone data to a database to fix the issue.

Is this in the process of being fixed?

Can you let us know if/when this will be up and running again please?

Friend Time should be back online as of today's changes. I'll leave this thread open for a bit to make sure the issue doesn't reappear. Thanks!

Bot has been going down a lot as of late. It seems to be down more than it is up. Any way to locally host it and if so, how do I do it?

Hi @phokingpuffy, if you're still interested I've created the following document on how to run Friend Time locally.