https://github.com/ravimo42/manjabot
Ravimo's reliable discord terminal bot
https://github.com/ravimo42/manjabot
bot discord-bot terminal-bot
Last synced: about 1 year ago
JSON representation
Ravimo's reliable discord terminal bot
- Host: GitHub
- URL: https://github.com/ravimo42/manjabot
- Owner: ravimo42
- License: apache-2.0
- Created: 2024-03-16T00:21:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-19T05:30:25.000Z (over 1 year ago)
- Last Synced: 2025-02-28T17:50:46.375Z (over 1 year ago)
- Topics: bot, discord-bot, terminal-bot
- Language: JavaScript
- Homepage:
- Size: 432 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Manjabot
Control your PC/Container/VM via discord bot, for example you type ```>> neofetch```,
it will print neofetch of the system you are in!
Best ran on a docker/container or a Virtual Mechine for security reasons.
## Installation:
```
git clone https://github.com/RavioliMavioli/manjabot
cd manjabot
npm install
node index.js
```
## Commands:
```>> help``` displays bot commands.
```>> send {some message}``` tell the bot to send some discord message.
```>> sendfile {file path}``` send a file from the host to discord message.
```>> ss``` upload a screenshot of the host desktop to discord message (only works with ```spectacle``` installed).
```>> {shell commands} ``` run any shell commands that is available on the host system.
## Token:
Token is stored in ```token.json.gpg``` with gpg encryption.
The decryption is done via terminal when you first run the bot.
Json Structure:
```
{
"token": "your token"
}
```
How to make your token file:
1. Make a json file called ```token.json```
2. Fill it with this (replace ```"your token"``` with your discrod bot token:
```
{
"token": "your token"
}
```
4. run:
```gpg -c token.json```
5. Fill the password on your liking, then delete ```token.json```.