Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

discord-commands-sync

r-priyam148MIT1.2.4

A CLI tool to manage discord application commands

discord, discord.js, discord-interactions

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

changelog

Changelog

All notable changes to this project will be documented in this file.

1.2.4 - (2022-06-01)

Bug Fixes 🐛

  • Short form of the package (86fd2f0)

Changelog

All notable changes to this project will be documented in this file.

1.2.2 - (2022-04-28)

Bug Fixes 🐛

  • Show No Description if command has no description (b9280d0)

1.2.1 - (2022-04-28)

Bug Fixes 🐛

  • Add missing check for ChatInput command in guild fetch (b32f431)

Refactor 🖌️

  • Merge all handlers in one (db333ce)

1.2.0 - (2022-04-28)

Features 🎉

  • Implement application user command delete (18c1868)

1.1.0 - (2022-04-28)

Features 🎉

  • Implement application message command delete (#2) (54008e1)

Refactor 🖌️

  • application-command to chat-input-command for better naming (15c301c)

1.0.0 - (2022-04-28)

Build 🛠️

  • vulnerability: Add resolutuon for minimist (f1ea93b)
  • [breaking] Remove commander (93f4b20)

0.1.0 - (2022-04-28)

Features 🎉

  • Implement application command delete (437fa37)