discid

1.4.1 • Public • Published

discid

A simple command-line tool to check a user's Discord status using Lanyard.

Installation

npm install -g discid

Usage

[!IMPORTANT] The user must be in the Lanyard Discord server. If the user you try searching for a user that is not in the server, you will get an error reminding you of this.

discid <userId>

In order to find the <userId> of a user:

  • Enable Developer mode by going to: SettingsAdvancedDeveloper Mode, and check the toggle.
  • Right click on a user and click Copy User ID
  • Go back to your command line and run discid <userId> replacing <userId> with the ID you copied.

For example:

discid 514106760299151372

might return something like:

iinter • 🟢 Online
Listening To: Duvet by bôa on Twilight
Platform: Desktop
Avatar URL: https://cdn.discordapp.com/avatars/514106760299151372/d14e90a16144987f53f5a3700aacc934.png

as the status of the user is "Online" and listening to the song in question at the time the command was ran:


For more in-depth information about what can be displayed, click here.

Options

Option Description
--json Shows the formatted JSON output of the user from https://api.lanyard.rest/v1/users/:user_id, replacing :user_id with the user ID you entered.
--visit, --open Opens the user's profile on the Discord website.
--kv Output's the user's Lanyard key-value pairs (see here).

License

©️ Licensed under the MIT License.

Package Sidebar

Install

npm i discid

Weekly Downloads

22

Version

1.4.1

License

MIT

Unpacked Size

16.9 kB

Total Files

7

Last publish

Collaborators

  • intter