1.4.2 • Published 2 years ago

slash-up v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NPM version NPM downloads ESLint status DeepScan grade discord chat

CLI to view Discord commands and sync commands with slash-create.

npm.io

slash-up <command>

Commands
  slash-up list                    View the list of commands on Discord
  slash-up view [command]          View a command on Discord
  slash-up local                   View the list of local commands
  slash-up sync                    Sync local commands to Discord
  slash-up init [template] [dest]  Clone a slash-create template into a new directory
  slash-up config [dir]            Create a config file in the specified directory

Other Options
  -h, --help     Show usage information & exit                                             [boolean]
  -v, --version  Show version number & exit                                                [boolean]

Config

Config files are taken from slash-up.config.js file or the file set from --config flag. You can create a config template file from npx slash-up config. | Property | Type | Description | |----------|------|-------------| | token | string | The token of the Discord bot | | applicationId | string | The application ID of the Discord bot | | commandPath | string | The path to the local commands directory | | globalToGuild | string? | The guild ID to set all global commands to when syncing, best for development environments | | beforeSync | 'block'/'confirm'? | What to do before syncing, 'confirm' prompts you before syncing | | env | object? | An object with keys as environment names and values as configs. You can use --env (-e) to use an environment's config |

Useful Links

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago