Socket
Book a 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.1.0
Source
npmnpm
Version published
Weekly downloads
0
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 ##Instalation 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

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

Instalation

  • Make sure node v20+ and git is intsalled on your computer
  • Download and open the folder
git clone https://github.com/kozmiknano/discord-cli-node
cd discord-cli-node
  • Install the deps
npm install
  • Now you can get a discord bot token and do one of two things
    • Just start the program (npm start) and paste your token in
    • Or, create a .env file and create a variable like so:
    DISCORDTOKEN=yourdiscordtokenhere
    
    Then run the program (npm start)

Keywords

discord

FAQs

Package last updated on 29 May 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.