1.2.2 • Published 11 months ago

discord-cli-node v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

discord-cli-node

This is a discord client written is node.js for the CLI. It allows you to send and read messages from a discord server.

Current limitations

  • No access to DMs
  • No access to servers you can't add a bot too
  • Can't change settings or view users in the server
  • Must be behind a discord bot

Usage

You can follow ##Installation to download and install this project or use the npx package (npx discord-cli-node)

This project was created to help with development where it can be annoying to change windows just to try talking to a command. This can be used to send/read messages.

Commands in CLI

  • !q, !e, !quit, !exit To exit the chat
  • !p, !ping To ping a user, you will be prompted for a user to ping (hit enter to autocomplete) and a message to send after the ping

Features

  • Read the last 50 messages sent in server
  • Send messages
  • View the time a message was sent, the user who sent it, and the message that was sent
  • Ping Server members (has autocomplete to help quickly finish names)

Installation

  1. Make sure node v20+, yarn and git is installed on your computer
  2. Download and open the folder

    git clone https://github.com/kozmiknano/discord-cli-node
    cd discord-cli-node
  3. Install the deps

    yarn
  4. Now you can get a discord bot token and do one of two things

    • Just start the program (yarn start) and paste your token in
    • Or, create a .env file and create a variable like so:
    DISCORDTOKEN=yourdiscordtokenhere

    Then run the program (yarn start)

1.2.2

11 months ago

1.2.1

11 months ago

1.2.0

11 months ago

1.1.0

12 months ago

1.0.3

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago