GithubHelp home page GithubHelp logo

discord-terminal's Introduction

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.