Socket
Socket
Sign inDemoInstall

slash-up

Package Overview
Dependencies
11
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    slash-up

CLI for viewing and syncing Discord commands with slash-create


Version published
Weekly downloads
219
decreased by-22.61%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

[1.4.2] - 2023-11-06

Fixed:

  • Fixed issue when listing local commands
  • Fixed local commands not showing some attributes

Readme

Source

NPM version NPM downloads ESLint status DeepScan grade discord chat

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

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.

PropertyTypeDescription
tokenstringThe token of the Discord bot
applicationIdstringThe application ID of the Discord bot
commandPathstringThe path to the local commands directory
globalToGuildstring?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
envobject?An object with keys as environment names and values as configs. You can use --env (-e) to use an environment's config

Keywords

FAQs

Last updated on 06 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc