🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

discord-cli-node

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-cli-node

A discord cli client written in node js.

1.2.2
latest
Source
npm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • Make sure node v20+, yarn and git is installed on your computer

  • Download and open the folder

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

    yarn
    
  • 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)

Keywords

discord

FAQs

Package last updated on 01 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts