From 690ce7755dd1a0bc65a6e95beda7416e1a6fb002 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 24 Feb 2020 20:41:40 +0200 Subject: [PATCH] command usage --- commands/bug.js | 2 +- commands/cmduses.js | 2 +- commands/disconnect.js | 2 +- commands/eval.js | 2 +- commands/help.js | 2 +- commands/invite.js | 2 +- commands/join.js | 2 +- commands/loop.js | 2 +- commands/loopsong.js | 2 +- commands/nowplaying.js | 2 +- commands/pause.js | 2 +- commands/play.js | 2 +- commands/queue.js | 2 +- commands/remove.js | 2 +- commands/resume.js | 2 +- commands/search.js | 2 +- commands/seek.js | 2 +- commands/settings.js | 2 +- commands/shuffle.js | 2 +- commands/skip.js | 2 +- commands/skipto.js | 2 +- commands/status.js | 2 +- commands/stop.js | 1 + commands/volume.js | 1 + 24 files changed, 24 insertions(+), 22 deletions(-) diff --git a/commands/bug.js b/commands/bug.js index d5d2d105..16397f9c 100644 --- a/commands/bug.js +++ b/commands/bug.js @@ -1,7 +1,7 @@ module.exports = { name: 'bug', alias: 'none', - usage: 'bug', + usage: '', description: 'Report a bug', onlyDev: false, permission: 'none', diff --git a/commands/cmduses.js b/commands/cmduses.js index f46dc4ae..7e350f3b 100644 --- a/commands/cmduses.js +++ b/commands/cmduses.js @@ -1,7 +1,7 @@ module.exports = { name: 'cmduses', alias: 'none', - usage: 'cmduses', + usage: '', description: 'list all commands and how many times they\'ve been used', onlyDev: true, permission: 'dev', diff --git a/commands/disconnect.js b/commands/disconnect.js index 76edfcca..253dac3a 100644 --- a/commands/disconnect.js +++ b/commands/disconnect.js @@ -1,7 +1,7 @@ module.exports = { name: 'disconnect', alias: 'dc', - usage: 'disconnect', + usage: '', description: 'Disconnect the bot from a voice channel.', onlyDev: true, permission: 'MANAGE_CHANNELS', diff --git a/commands/eval.js b/commands/eval.js index e24f9c92..13c0bd68 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -1,7 +1,7 @@ module.exports = { name: 'eval', alias: 'e', - usage: 'eval ', + usage: '', description: 'Evaluation command. DEV ONLY!', onlyDev: true, permission: 'dev', diff --git a/commands/help.js b/commands/help.js index 3e48a6c5..6a39d073 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,7 +1,7 @@ module.exports = { name: 'help', alias: 'h', - usage: 'help ', + usage: '', description: 'See the help for Musix.', onlyDev: false, permission: 'none', diff --git a/commands/invite.js b/commands/invite.js index 6d78cd3e..b3b9799b 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -1,7 +1,7 @@ module.exports = { name: 'invite', alias: 'i', - usage: 'invite', + usage: '', description: 'Invite Musix.', onlyDev: false, permission: 'none', diff --git a/commands/join.js b/commands/join.js index 1b098d47..690d624e 100644 --- a/commands/join.js +++ b/commands/join.js @@ -1,7 +1,7 @@ module.exports = { name: 'join', alias: 'j', - usage: 'join', + usage: '', description: 'Make Musix join the channel your channel', onlyDev: true, permission: 'none', diff --git a/commands/loop.js b/commands/loop.js index 49497e29..8d2b550f 100644 --- a/commands/loop.js +++ b/commands/loop.js @@ -1,7 +1,7 @@ module.exports = { name: 'loop', alias: 'none', - usage: 'loop', + usage: '', description: 'loop the queue.', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/loopsong.js b/commands/loopsong.js index 79d4176d..d44f0edf 100644 --- a/commands/loopsong.js +++ b/commands/loopsong.js @@ -1,7 +1,7 @@ module.exports = { name: 'loopsong', alias: 'loops', - usage: 'loopsong', + usage: '', description: 'loop the currently playing song.', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/nowplaying.js b/commands/nowplaying.js index a8839327..3bdb6aa4 100644 --- a/commands/nowplaying.js +++ b/commands/nowplaying.js @@ -1,7 +1,7 @@ module.exports = { name: 'nowplaying', alias: 'np', - usage: 'nowplaying', + usage: '', description: 'See the currently playing song position and length.', onlyDev: false, permission: 'none', diff --git a/commands/pause.js b/commands/pause.js index d2853077..f499e87c 100644 --- a/commands/pause.js +++ b/commands/pause.js @@ -1,7 +1,7 @@ module.exports = { name: 'pause', alias: 'none', - usage: 'pause', + usage: '', description: 'Pause the currently playing music.', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/play.js b/commands/play.js index 049a6187..92984bc2 100644 --- a/commands/play.js +++ b/commands/play.js @@ -3,7 +3,7 @@ const YouTube = require("simple-youtube-api"); module.exports = { name: 'play', alias: 'p', - usage: 'play ', + usage: '', description: 'Play some music.', onlyDev: false, permission: 'none', diff --git a/commands/queue.js b/commands/queue.js index 34effbc5..8ec51a30 100644 --- a/commands/queue.js +++ b/commands/queue.js @@ -1,7 +1,7 @@ module.exports = { name: 'queue', alias: 'q', - usage: 'queue ', + usage: '', description: 'See the queue.', onlyDev: false, permission: 'none', diff --git a/commands/remove.js b/commands/remove.js index 4c9e1b47..17c73a44 100644 --- a/commands/remove.js +++ b/commands/remove.js @@ -1,7 +1,7 @@ module.exports = { name: 'remove', alias: 'rm', - usage: 'remove ', + usage: '', description: 'Remove a song from the queue', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/resume.js b/commands/resume.js index 507f5151..096cc370 100644 --- a/commands/resume.js +++ b/commands/resume.js @@ -1,7 +1,7 @@ module.exports = { name: 'resume', alias: 'none', - usage: 'resume', + usage: '', description: 'Resume the paused music.', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/search.js b/commands/search.js index 2d168ac7..41337437 100644 --- a/commands/search.js +++ b/commands/search.js @@ -4,7 +4,7 @@ const he = require('he'); module.exports = { name: 'search', alias: 'sr', - usage: 'search ', + usage: '', description: 'Search the top 10 queryes and choose one.', onlyDev: false, permission: 'none', diff --git a/commands/seek.js b/commands/seek.js index 655d9961..b7af850c 100644 --- a/commands/seek.js +++ b/commands/seek.js @@ -1,7 +1,7 @@ module.exports = { name: 'seek', alias: 'none', - usage: 'seek ', + usage: '', description: 'Seek to a specific point in the currently playing song.', onlyDev: true, permission: 'MANAGE_MESSAGES', diff --git a/commands/settings.js b/commands/settings.js index db7c6f04..113dda14 100644 --- a/commands/settings.js +++ b/commands/settings.js @@ -1,7 +1,7 @@ module.exports = { name: 'settings', alias: 'pref', - usage: 'settings ', + usage: ' ', description: 'Change the server settings for Musix.', onlyDev: false, permission: 'MANAGE_GUILD', diff --git a/commands/shuffle.js b/commands/shuffle.js index 0b241f92..597cf9a7 100644 --- a/commands/shuffle.js +++ b/commands/shuffle.js @@ -1,7 +1,7 @@ module.exports = { name: 'shuffle', alias: 'none', - usage: 'shuffle', + usage: '', description: 'Shuffle the queue.', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/skip.js b/commands/skip.js index ad2eed4b..906636f3 100644 --- a/commands/skip.js +++ b/commands/skip.js @@ -1,7 +1,7 @@ module.exports = { name: 'skip', alias: 's', - usage: 'skip', + usage: '', description: 'Skip the currently playing song.', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/skipto.js b/commands/skipto.js index 0a8662b8..3ff3a50a 100644 --- a/commands/skipto.js +++ b/commands/skipto.js @@ -1,7 +1,7 @@ module.exports = { name: 'skipto', alias: 'st', - usage: 'skipto ', + usage: '', description: 'Skip to a point in the queue', onlyDev: false, permission: 'MANAGE_MESSAGES', diff --git a/commands/status.js b/commands/status.js index 423ee86f..12c50461 100644 --- a/commands/status.js +++ b/commands/status.js @@ -1,7 +1,7 @@ module.exports = { name: 'status', alias: 'stats', - usage: 'status', + usage: '', description: 'See the current status for Musix.', onlyDev: false, permission: 'none', diff --git a/commands/stop.js b/commands/stop.js index a3350929..65986d4f 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -2,6 +2,7 @@ module.exports = { name: 'stop', description: 'Stop command.', alias: 'none', + usage: '', onlyDev: false, permission: 'MANAGE_CHANNELS', category: 'music', diff --git a/commands/volume.js b/commands/volume.js index 3a760508..ac11f6e1 100644 --- a/commands/volume.js +++ b/commands/volume.js @@ -2,6 +2,7 @@ module.exports = { name: 'volume', description: 'Volume command.', alias: 'none', + usage: '', cooldown: 5, onlyDev: false, permission: 'MANAGE_MESSAGES',