Discord server status bot IssueSolved
I set up the software and installed everything i need into the config file, Then then i ran the app.js file I was prompted with the error shown here http://prntscr.com/kqal10 If someone knows how to fix this send me an invite on discord Decenrad#7670 and we can figure it out.
This is what i used after i created the bot https://github.com/kennethrisa/discord-rustserverstatus
https://api.rust-servers.info/status/1588
I went here discordapp.com and made my server bot. And its currently offline on my discord server. now all i need to do is run it on my servers host and leave it but it wont run. Who ever can help me please add me on discord and we can figure it out together Decenrad#0001
What software exaclty? Oxide isn't a Discord bot.
In response to Wulf ():
What software exaclty? Oxide isn't a Discord bot.
Big rust server admins told me this is the best website to go to to, to get this fugured out.
This is what i am using. https://github.com/kennethrisa/discord-rustserverstatus
Config file: http://prntscr.com/kqb6pu
When i set up config file i run the app.js and it comes up with the error http://prntscr.com/kqb6wa 
Running the app.js file should make my discord bot in online mode and it should tell me the player count of my rust server. but i cant even run the file.

>Running the app.js file should make my discord bot in online mode and it should tell me the player count of my rust server. but i cant even run the file.
See, that's where you are wrong ;)

Google how to start a node.js server

In response to Slydelix ():
>Running the app.js file should make my discord bot in online mode and it should tell me the play...
You are telling me something i said and then telling me thats where im wrong? how is that suppost to help me. I googled what you said and what i saw was a bunch of stuff teaching me node and shit. I simply want to know why its not running and what i can do to fix it! not go learn some programming! if you have nothing usefull to say dont post a reply on this thread
In response to Decenrad ():
You are telling me something i said and then telling me thats where im wrong? how is that suppost to...
The error shows a syntax error. It doesn't know how to interpret the code. Try installing nodejs and run it as admin again. https://nodejs.org/dist/v8.11.4/node-v8.11.4-x64.msi
In response to nimdasys ():
The error shows a syntax error. It doesn't know how to interpret the code. Try installing nodejs and...
I reinstalled node and ran as admin, it opened a cmd http://prntscr.com/kqr5qu
but the file still wont work

Hi,

What you can try to do:

1. copy the path to the directory where you have the bot.
example your path (from screenshot):
c:\users\machine\desktop\discord-rustserverstatus-master(1)\discord-rustserverstatus-master

2. open Command prompt.
example: keyboard shortcut: win+r (run) and then type: cmd
You can also try to open cmd as administrator if you get any trouble with permissions.

3. in command prompt:
cd c:\users\machine\desktop\discord-rustserverstatus-master(1)\discord-rustserverstatus-master
If this is your path where you have extracted the files.

4. run command in command prompt:
npm install

This is install all the dependecies you need to be able to run the application.

5. To start the nodejs application in command prompt:
node app.js

You start the nodejs server trough cmd or powershell.
It will not work if you try to dobbel click on app.js or clicking on the node.exe shell.

In response to kenna ():
Hi,

What you can try to do:

1. copy the path to the directory where you have t...
After some messing around with the commands and updating my token to my bot token instead of the discord token, Then I typed >cd C:\Users\Machine\Desktop\discord-rustserverstatus-master (2)\discord-rustserverstatus-master
Then >node app.js and that started the file. Now my bot is online and working.
I am glad you all helped me thank you.
Good we made this post other people might want to get this working also.
I had a thought, can I make the bot update not every 6 minuts but every minute? if yes how do i do that?
Since rust-servers.net itself is updating the server information every 6 minutes only, this would not make any sense.
In response to dak0za ():
Since rust-servers.net itself is updating the server information every 6 minutes only, this would no...
Ok right i understand now. its not the bot its the website. good to know and sucks i cant do nothing about it.
I have a player cound bot running on my discord server, but it keeps randomely going off line, 
I have to go into the config and typing "node app.js" for it to turn on.
This is the error code.

----------------------------------------------------------------------------------------------------
Your environment has been set up for using Node.js 10.9.0 (x64) and npm.

C:\Users\Administrator>cd C:\Users\Administrator\Desktop\discord-rustserverstatu
s-master (1)\discord-rustserverstatus-master

C:\Users\Administrator\Desktop\discord-rustserverstatus-master (1)\discord-rusts
erverstatus-master>node app.js
Bot has started, with 140 users, in 25 channels of 1 guilds.
events.js:173
throw err; // Unhandled 'error' event
^

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ([object Object])
at Client.emit (events.js:171:17)
at WebSocketConnection.onError (C:\Users\Administrator\Desktop\discord-rusts
erverstatus-master (1)\discord-rustserverstatus-master\node_modules\discord.js\s
rc\client\websocket\WebSocketConnection.js:374:17)
at WebSocket.onError (C:\Users\Administrator\Desktop\discord-rustserverstatu
s-master (1)\discord-rustserverstatus-master\node_modules\discord.js\node_module
s\ws\lib\event-target.js:128:16)
at WebSocket.emit (events.js:182:13)
at _receiver.cleanup (C:\Users\Administrator\Desktop\discord-rustserverstatu
s-master (1)\discord-rustserverstatus-master\node_modules\discord.js\node_module
s\ws\lib\websocket.js:211:14)
at Receiver.cleanup (C:\Users\Administrator\Desktop\discord-rustserverstatus
-master (1)\discord-rustserverstatus-master\node_modules\discord.js\node_modules
\ws\lib\receiver.js:557:13)
at WebSocket.finalize (C:\Users\Administrator\Desktop\discord-rustserverstat
us-master (1)\discord-rustserverstatus-master\node_modules\discord.js\node_modul
es\ws\lib\websocket.js:206:20)
at TLSSocket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)

C:\Users\Administrator\Desktop\discord-rustserverstatus-master (1)\discord-rusts
erverstatus-master>
----------------------------------------------------------------------------------------------------
Well you should contact the person you got the bot from since it doesnt seem like you want to fix it yourself. 
In response to ():
Well you should contact the person you got the bot from since it doesnt seem like you want to fix it...
You miss understood the issue here. The bot works but it stops once every 24h at a randome time. Thats what im trying to fix. And when i dont understand much about discord bots I go and post a thread to see if someone can tell me what i can do not go telling me what i cant do
Locked automatically