Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.
/ ServerBot Public archive

💡 A Telegram Bot For Checking Server Statistics And Information.

License

Notifications You must be signed in to change notification settings

kamikazechaser/ServerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServerBot

A 💡Telegram Bot For Checking Server Statistics And Information.

https://github.com/kamikazechaser/LiveCoinBot/blob/master/LICENSE.md https://telegram.me/kamikazechaser Dependency Status devDependencies Status Code Climate

Installation

  • Ensure you have NodeJS and npm installed else visit here
  • Preferrable to use with tmux or screen
  • If you have a windows server edit the bot.js file as commented on line 53
  • Replace your token in bot.js
  • Add your userId so as to use the bot (or an array of users)
$ npm install -g nodemon

$ git clone https://github.com/kamikazechaser/ServerBot.git && cd ServerBot

$ npm install

$ nodemon bot.js

Commands

As a security precaution, due to sensitivity of certain commands, e.g /bash, the bot will ignore ALL messages that are not from the SuperUser a.k.a sudo!

Command Description
/start Displays general information about the bot and list of commands.
/bash [cmd] Execute UNIX commands on the machine and get a reply if any (directory cannot be changed).
/info Gets the general information of the server.
/disk Displays the storage information of the server.
/ram Displays the memory information of the server.
/load Displays the CPU load of the server.
/ping Initiates the speed-test (takes 12 - 20 seconds). You will be notified on start and end of speed-test.
/results Displays the speed-test results.
/geo Geo-locates the server.

License

ServerBot
Copyright (C) 2016 Mohammed Sohail <kamikazechaser.github.io>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

💡 A Telegram Bot For Checking Server Statistics And Information.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published