discord-commands-sync

1.2.4 • Public • Published

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

Package Sidebar

Install

npm i discord-commands-sync

Weekly Downloads

8

Version

1.2.4

License

MIT

Unpacked Size

19 kB

Total Files

14

Last publish

Collaborators

  • r-priyam