# command-sync

> sync your commands in discord.js v14

Latest version **1.0.0** (published 2022-10-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install command-sync
pnpm add command-sync
yarn add command-sync
bun add command-sync
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-10-29 |
| First published | 2022-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | generalCosmos |
| Maintainers | cosmoswastaken |

## Links

- npm: https://www.npmjs.com/package/command-sync
- npm.io page: https://npm.io/package/command-sync

## Dependencies (1)

- [discord.js](https://npm.io/package/discord.js.md) 14.6.0

## Recent versions

- 1.0.0 (latest) — 2022-10-29

## README

# command-sync

An upgrade over the existing [sync-commands](https://github.com/Androz2091/discord-sync-commands) library made by [@Androz2091](https://github.com/Androz2091)

## Features

- Sync commands over a single or multiple servers.
- Sync global commands.
- Discord.js v14 compatible


## Installation

Install discord-sync-commands-v14 with npm

```bash
  npm install discord-sync-commands-v14
```
    
## Code example.



```js
const sync = require('discord-sync-commands-v14');
sync(client, [
    {
        name: 'ping',
        description: 'Ping the bot.'
    }
], {
    debug: true,
    guildId: '1234566' // remove this property to use global commands
});

```

---
_Source: https://npm.io/package/command-sync · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
