Skip to content

RavioliMavioli/manjabot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manjabot

Expose 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 Container or 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.

C.AI:

C.AI need token and character's ID. If you don't have token you can input email instead.
C.AI credentials are stored in cai.json.gpg with gpg encryption.
Json Structure:

{
  "token": "your c.ai token",
  "email": "your email",
  "characterId": "your character's ID, obtained via link"
}



About

Ravimo's reliable discord terminal bot

Topics

Resources

License

Stars

Watchers

Forks