JSPM

discord-commands-sync

1.2.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q83494F
  • License MIT

A CLI tool to manage discord application commands

Package Exports

  • discord-commands-sync
  • discord-commands-sync/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discord-commands-sync) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

discord-commands-sync

A CLI tool to manage discord application commands

GitHub npm

Description

Managing discord application commands is a bit tricky thing to do, especially if you want to manage commands across multiple discord servers or even globally. Writing custom script to manage commands is a bit of a hassle, and this tool is designed to make it a bit easier interactively. You just need to run one command and select required options from the CLI UI and discord-commands-sync will handle the rest.

Please do note that currently passing CLIENT_SECRET instead of BOT_TOKEN is not supported.

Before you start

Please make sure that you have .env file setup in your project root directory with the following credentials:

  • BOT_TOKEN: Your bot token to update commands for.
  • BOT_CLIENT_ID: Your bot client id to fetch commands for.

Both of these are required to run the tool.

Usage

Please see the below GIF for a quick demonstration of the tool.

Good UX with Postgres.js