SideProjectGuys / invite-manager-bot

A discord bot that tracks invites and much more
https://docs.invitemanager.co/
GNU General Public License v3.0
166 stars 136 forks source link

Error occurs while attempting to self-host bot #168

Closed USBCharger closed 4 years ago

USBCharger commented 4 years ago

I was trying to host the bot, and I got an error when I attempted to start the bot, so I ran "npm install" and got this error. image I also get this error when running the command "npm start". image Hope you can help! ~Rocket

chaun14 commented 4 years ago

I've some problems on windows too, try on Linux

chaun14 commented 4 years ago

(this bot is made to run on Linux, not on Windows)

sairam4123 commented 4 years ago

But most of us don't have linux.

chaun14 commented 4 years ago

This bot is made to run on big Linux servers, not on personnal computers

sairam4123 commented 4 years ago

But I need to test the bot, how can I run it?

chaun14 commented 4 years ago

Dual boot your pc with Ubuntu, set up a virtual machine, use the wsl, buy a vps...

sairam4123 commented 4 years ago

Thanks lol, but another issue, the bot is offline for so long, any issues with the bot?

USBCharger commented 4 years ago

From the way they made it sound on discord, (I think) they are using discord's bot hosting and therefore it is "discord's problem".. but I'm not sure how much it's "out of their hands" as they like us to believe. What I do know is the app's code is good, but the hosting for it is crap. Also, just run ubuntu for windows off your PC. It uses little to no resources from your computer, even with the bot running (under 1% CPU/25MB RAM) you'll need to also set up a sql server on the windows side of your computer and direct the ubuntu instance to your SQL server. Windows subsystem for Linux is the bomb. Also, if you want, I can let you use my bot I'm using to run it.

sairam4123 commented 4 years ago

Oh well, I am making a similar bot in Python, but as there're no bot written in Python, it is very difficult, and also are you discord, so I can contact you, directly?

USBCharger commented 4 years ago

Yeah, send me your discord here and I will add you. Also, want to thank you for telling me it was Linux based, even though I still don't know why it only works there, it did work, so thank you chaun14.

sairam4123 commented 4 years ago

Sairam#1724