💻 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?
- 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
-
Edit
src/config.json
with your bot token and allowed users -
Run the bot using
npm run start
oryarn start
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
allowed This is an array containing the Discord ID's of the users who can run commands. The bot will ignore messages from others.
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!