Comments (26)
Ok, as well as there are some free options with the one i know best being Library of Codeβ’. There is glitch but in anyones eye who have used an actual vps that is just pure garbage.
Also free vps are usually shared with other users so keep that in mind... Also i believe AWS has a free tier, but you need a credit card for that and need to cancel, its also a pain to get data. But if you are not storing data it might be fine, for a year
from cross-server-bot.
That's because
1: I didn't say run npm pm2start
2: npm is a node package manager
from cross-server-bot.
No... Host your bot somewhere. Glitch, AWS, LOC, etc. There are many resources. Google it.
from cross-server-bot.
Yeah, that was what I was thinking. I will try Glitch and will let you know if it works. Thanks!
from cross-server-bot.
That is in no way how hosting works.
A Host is (generally) a completely seperate computer than your own that is meant to run 24/7, it has a seperate operating system
You can find hosts such as DigitalOcean and Vultr for as little as $5 a month (you can find youtube videos).
These hosts require something called SSH to access them (there are videos on this).
Once you have a host setup, you would host your bot the same way you do on your pc. Most of the time you will not have a graphical user interface like your normal computer has, and will have to be somewhat familiar (like around novice) and know basic commands for whatever command line you pick.
Also most latest windows builds come with ssh in powershell, and if it doesn't you can use something called Putty.
from cross-server-bot.
Thank you very much!
from cross-server-bot.
Use PM2, run pm2 start filename.js
, restart would be pm2 restart name
and stop would be pm2 stop name
from cross-server-bot.
How exactly do I do that? When I use npm pm2start, it doesn't accept that command.
from cross-server-bot.
Ok, but in the bot, what is filename. js? There's index.js and resolve.js
from cross-server-bot.
What file do you start the bot with?
from cross-server-bot.
I use the command npm start in Windows PowerShell.
I cloned the repository in a GitHub file.
from cross-server-bot.
Oh I see. Then it'll be pm2 start index.js
from cross-server-bot.
Ok, I'll try that!
from cross-server-bot.
Unfortunately, it DID work, but I want it to work without me having to have my system run all the time without having to keep PowerShell open.
from cross-server-bot.
Well... host your bot somewhere.
from cross-server-bot.
How exactly do I do that?
from cross-server-bot.
I host my bot on three discord servers to connect them via one channel.
from cross-server-bot.
Oh, that is what you meant. Ok, I'll try it.
from cross-server-bot.
That's not hosting. Hosting means to run whatever you are running on a computer. Like right now, you're hosting on your computer. I'm saying host your files somewhere you don't need to turn the computer off
from cross-server-bot.
Oh, thanks! That's what I'm looking for. And I am kind of experienced with the command line.
from cross-server-bot.
Just to clarify on this one, you got pretty much everything here. We will keep it to the discord server for further questions related to hosting.
I would also add that as mentionned before I wouldn't go for glitch for a discord bot. There are free tiers available with GCP or AWS for example. For other solution (eg: Library Of Code), we will get you in the discord.
Hope you get everything to work as you intend to π
from cross-server-bot.
Thanks KhaaZ
from cross-server-bot.
I'll buy you a baguette
from cross-server-bot.
Bsian we already have one, and thats human trafficking..
Last i checked human trafficking was illegal in most countries.
from cross-server-bot.
I already know where he is though
from cross-server-bot.
k
from cross-server-bot.
Related Issues (20)
- TypeError: config.guilds is not iterable HOT 4
- Assistance Needed HOT 1
- Bot keeps crashing HOT 1
- Deleting a message will sometimes not properly delete it on linked servers HOT 2
- None of the commands are working and no way to delte HOT 4
- Mentioning @everyone does not work in the other channels. HOT 21
- TODO HOT 6
- What is with this "webhook unavailable" message when an embed is sent HOT 6
- Enhanced mentions aren't working.
- Webhooks
- Deleting messages crashes the bot HOT 1
- Adding a set webhook to send the message when the bot is online HOT 1
- bot crash with error when start it
- Need help with WebHooks not working
- Bot not starting - npm and Node.js both up to date on ubuntu 16.04.6 LTS [Debug log attached] HOT 8
- Multiple linked sets of channels HOT 5
- message deleted by bot (suggestion) HOT 9
- When linking more than 2 channels together message appears on all of them HOT 2
- Error with cyrillic charathers in nickname HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross-server-bot.