gauthamramravichandran / masterbot Goto Github PK
View Code? Open in Web Editor NEWA bot to control other bots in the server
A bot to control other bots in the server
It would be nice if we can add some bots/paths to a list so we can /startall bots after a server reboot/crash without need to start 100 bots manually.
even a /restartall would be nice, if some bigger issue happens
/stopall if you need a break :D
On /stats the refresh button sets cpu to 0,0% but doesn't refresh
Notify the admin if any of the running bot goes down.
A list will be taken when the MasterBot started, every 5 mins, lookup the running processes with the list.
The Text
Hello there, non-admin Human!
I'm the MasterBot. I help admin in managing bots/programs running in your server.
What can I do?
1. I pull the latest update of a repo to server and restart that appropriate bot.
2. Monitor the server statistics
3. Notify you about the failed/stopped bots
Shouldn't appear on service messages.
You should just ignore 'service messages'
Using psutil
Maybe the bot can run pip3 install -r requirements.txt on restart if the requirements file changes. So you don't have to ๐
Is it possible to add a channel id (sender_chat) to the admin list?
Rn it doesn't work but this would be great if you send as a channel
Use tabulate to improve readability of stats sent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.