You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

slash-up

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slash-up

CLI for viewing and syncing Discord commands with slash-create

1.4.2
latest
Source
npmnpm
Version published
Weekly downloads
236
16.26%
Maintainers
1
Weekly downloads
 
Created
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

api

FAQs

Package last updated on 06 Nov 2023

Did you know?

Socket

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