Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.32 KB

README.md

File metadata and controls

48 lines (39 loc) · 1.32 KB

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.