Skip to content

DeathVenom54/discord-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Terminal

💻 A Discord bot to conveniently use Discord as your remote terminal

😉 Why use SSH clients when you can use your favourite chat app as one?

Installation

  1. Clone the repo and install dependencies
git clone https://github.com/DeathVenom54/discord-terminal.git
cd discord-terminal

# with yarn:
yarn

# with npm:
npm install --save
  1. Edit src/config.json with your bot token and allowed users

  2. Run the bot using npm run start or yarn start

Configuration

src/confiig.json holds the needed information to get the bot running

token The token for your Discord bot. Obtain it from the Discord developer portal

How do I create a bot?

allowed This is an array containing the Discord ID's of the users who can run commands. The bot will ignore messages from others.

How do I find my Discord ID?

Why did I make this?

I make bots. A lot of them. A lot of times I need to quickly open up my SSH client to check on a bot using pm2. It's easy enough, but could be done faster...

Enter exec, the node.js package which lets you run shell commands from javascript. This idea struck me randomly and I had to make it real.

So well, here we are. Managing bots from Discord itself, how good is that!

About

Use your linux terminal from Discord via a bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published