Skip to content

ADEEP13/gojo-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gojo Server Guardian Bot

Gojo is a powerful Discord bot designed to monitor and control your Linux server remotely.

It provides system monitoring, login alerts, remote control, and automatic startup.


Features

• Server status monitoring • Login detection alerts • Restart server remotely • Shutdown server remotely • Execute Linux commands remotely • Owner security protection • Embed-based clean UI • Auto start on server boot


Commands

Command Description
!status Shows CPU, RAM, Disk, uptime
!info Shows bot information
!helpgojo Shows help
!restart Restart server
!shutdown Shutdown server
!run Run Linux command

Installation

Clone repo

git clone https://github.com/ADEEP13/gojo-bot.git
cd gojo-bot

Install dependencies

python3 -m venv venv
source venv/bin/activate

pip install -r requirements.txt

Setup environment

Create .env file

TOKEN=your_token
OWNER_ID=your_id
ALERT_CHANNEL_ID=channel_id

Run bot

python bot.py

Auto Start Setup

Create service file

sudo nano /etc/systemd/system/gojo.service

Paste:

[Unit]
Description=Gojo Discord Bot
After=network.target

[Service]
User=adeep
WorkingDirectory=/home/username/gojo-bot
ExecStart=/home/username/gojo-bot/venv/bin/python bot.py
Restart=always

[Install]
WantedBy=multi-user.target

Enable service:

sudo systemctl daemon-reexec
sudo systemctl enable gojo
sudo systemctl start gojo

Check Status

sudo systemctl status gojo

Security

Only OWNER_ID can:

• restart server • shutdown server • run commands


Requirements

Ubuntu Server Python 3.8+ Discord Bot Token


License

Open source

Maintainer

This bot is actively developed and maintained by Adeep AG.

Stay connected for updates, improvements, and new features:

• GitHub: https://github.com/ADEEP13 • LinkedIn: https://www.linkedin.com/in/adeep-ag-b140b9342/ • X( twitter): https://x.com/adeep_ag • Reddit: https://www.reddit.com/user/ADEEP__A__G/ • Email: adeepag13@gmail.com


Project Updates

All updates, bug fixes, and new features will be published here:

GitHub Repository: https://github.com/ADEEP13/gojo-bot

You can:

• Star the project • Report bugs • Suggest features • Track updates


Version

Current Version: v1.0 Bot Name: Gojo Server Platform: Ubuntu Server + Discord


Author

Adeep AG Information Science Engineering Student

About

No description, website, or topics provided.

Resources

License

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages