Skip to content

Kurama250/Stats_server_pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot stats Raspberry Pi server for Discord

(Programming Language - Node.js | Shell)

Tutorial to install the bot ! For Rasbian (Raspberry Pi)

1 - on Terminal

A) Auto installer
  • Run command :
bash <(curl -s https://raw.githubusercontent.com/Kurama250/Stats_server_pi/main/setup_server.sh)
B) Manual installer
apt update && apt upgrade -y
apt install npm nodejs git raspi-config -y
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs
git clone https://github.com/Kurama250/Stats_server_pi.git
cd Stats_server_pi
npm install discord.js child_process
npm install pm2 -g

2 - on Terminal

nano config.json

And you also change this line :

  "token": "YOUR_TOKEN",
  "channelId": "ID_CHANNEL",
  "serverId": "ID_SERVER"

After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !

3 - on Terminal

pm2 start main.js -n Stats_server_pi
  • Demo :

alt text

Support on Discord : Discord Link

If you like this repository don't hesitate to give it a star ⭐ !

Then it's the end you have started the bot have fun !

Licence : Creative commons - CC BY-NC-ND 4.0 by Kurama250 | Yoro404

About

This code is used to see live consumption information from your Raspberry Pi server !

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •