From 28737c575606b20418023ae57627fa5c6710e3d8 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sat, 9 Sep 2023 23:31:00 -0700 Subject: [PATCH] update/cmd usage + descriptions --- commands/admin.js | 4 ++-- commands/alarm.js | 2 +- commands/armbands.js | 2 +- commands/bank.js | 2 +- commands/bounty.js | 2 +- commands/channels.js | 2 +- commands/claim.js | 2 +- commands/collect-income.js | 2 +- commands/config.js | 2 +- commands/event.js | 2 +- commands/excluded.js | 2 +- commands/factions.js | 2 +- commands/gamertag-link.js | 2 +- commands/gamertag-unlink.js | 2 +- commands/lookup.js | 2 +- commands/player-list.js | 2 +- commands/purchase-emp.js | 2 +- commands/reset.js | 2 +- commands/stats.js | 2 +- package.json | 2 +- 20 files changed, 21 insertions(+), 21 deletions(-) diff --git a/commands/admin.js b/commands/admin.js index e81f03f..4bf62a9 100644 --- a/commands/admin.js +++ b/commands/admin.js @@ -7,8 +7,8 @@ module.exports = { name: "admin", debug: false, global: false, - description: "Connect a users gamertag for them", - usage: "[user] [gamertag]", + description: "Administrative only commands", + usage: "[command] [options]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: [], diff --git a/commands/alarm.js b/commands/alarm.js index 86953a2..e378c14 100644 --- a/commands/alarm.js +++ b/commands/alarm.js @@ -6,7 +6,7 @@ module.exports = { debug: false, global: false, description: "Create a Zone Ping Alarm", - usage: "[cmd] [opt]", + usage: "[command] [options]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: ["MANAGE_GUILD"], diff --git a/commands/armbands.js b/commands/armbands.js index 4df8164..e0d20a8 100644 --- a/commands/armbands.js +++ b/commands/armbands.js @@ -5,7 +5,7 @@ module.exports = { name: "armbands", debug: false, global: false, - description: "view a list of armbads", + description: "View a list of armbads", usage: "", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/bank.js b/commands/bank.js index 81a109a..c3c8a42 100644 --- a/commands/bank.js +++ b/commands/bank.js @@ -6,7 +6,7 @@ module.exports = { debug: false, global: false, description: "Manage your banking", - usage: "[cmd] [opt]", + usage: "[command] [options]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: [], diff --git a/commands/bounty.js b/commands/bounty.js index 41f254c..fdbd42d 100644 --- a/commands/bounty.js +++ b/commands/bounty.js @@ -5,7 +5,7 @@ module.exports = { debug: false, global: false, description: "Set or view bounties", - usage: "[cmd] [opt]", + usage: "[command] [options]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: [], diff --git a/commands/channels.js b/commands/channels.js index 597b81c..fc57e6d 100644 --- a/commands/channels.js +++ b/commands/channels.js @@ -4,7 +4,7 @@ module.exports = { name: "channels", debug: false, global: false, - description: "view a list of allowed channels", + description: "View a list of allowed channels", usage: "", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/claim.js b/commands/claim.js index 5344b68..697ade0 100644 --- a/commands/claim.js +++ b/commands/claim.js @@ -5,7 +5,7 @@ module.exports = { name: "claim", debug: false, global: false, - description: "claim an available armband for your ", + description: "Claim an available armband for your faction", usage: "[role]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/collect-income.js b/commands/collect-income.js index f214f62..b644ed2 100644 --- a/commands/collect-income.js +++ b/commands/collect-income.js @@ -5,7 +5,7 @@ module.exports = { name: "collect-income", debug: false, global: false, - description: "collect your income", + description: "Collect your income", usage: "", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/config.js b/commands/config.js index b9cc932..46001ab 100644 --- a/commands/config.js +++ b/commands/config.js @@ -6,7 +6,7 @@ module.exports = { debug: false, global: false, description: "Configure your server settings", - usage: "[opt] [action] [value]", + usage: "[options] [configuration]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: ["MANAGE_GUILD"], diff --git a/commands/event.js b/commands/event.js index 690c415..f9aaa0b 100644 --- a/commands/event.js +++ b/commands/event.js @@ -6,7 +6,7 @@ module.exports = { debug: false, global: false, description: "Admin controlled events", - usage: "[event] [opt]", + usage: "[event] [option]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: [], diff --git a/commands/excluded.js b/commands/excluded.js index 7925c4d..8b39d72 100644 --- a/commands/excluded.js +++ b/commands/excluded.js @@ -4,7 +4,7 @@ module.exports = { name: "excluded", debug: false, global: false, - description: "view a list of excluded roles", + description: "View a list of excluded roles", usage: "", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/factions.js b/commands/factions.js index d6291ac..4d5c635 100644 --- a/commands/factions.js +++ b/commands/factions.js @@ -5,7 +5,7 @@ module.exports = { name: "factions", debug: false, global: false, - description: "view the armband of a faction", + description: "View the armband of a faction", usage: "[role]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/gamertag-link.js b/commands/gamertag-link.js index 45fb86d..0517660 100644 --- a/commands/gamertag-link.js +++ b/commands/gamertag-link.js @@ -4,7 +4,7 @@ module.exports = { name: "gamertag-link", debug: false, global: false, - description: "Connect DayZ account to gain server access", + description: "Connect DayZ stats to your Discord", usage: "[gamertag]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/gamertag-unlink.js b/commands/gamertag-unlink.js index 2780d17..93ee436 100644 --- a/commands/gamertag-unlink.js +++ b/commands/gamertag-unlink.js @@ -4,7 +4,7 @@ module.exports = { name: "gamertag-unlink", debug: false, global: false, - description: "Disconnect gamertag", + description: "Disconnect DayZ stats from your Discord", usage: "", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/lookup.js b/commands/lookup.js index 4d3a319..5b5207f 100644 --- a/commands/lookup.js +++ b/commands/lookup.js @@ -5,7 +5,7 @@ module.exports = { debug: false, global: false, description: "Search for a users discord or gamertag", - usage: "[cmd] [param]", + usage: "[option] [parameter]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: [], diff --git a/commands/player-list.js b/commands/player-list.js index 2b3d8de..c4668f9 100644 --- a/commands/player-list.js +++ b/commands/player-list.js @@ -4,7 +4,7 @@ module.exports = { name: "player-list", debug: false, global: false, - description: "get current online players", + description: "Get current online players", usage: "", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/purchase-emp.js b/commands/purchase-emp.js index f363096..de73a80 100644 --- a/commands/purchase-emp.js +++ b/commands/purchase-emp.js @@ -5,7 +5,7 @@ module.exports = { name: "purchase-emp", debug: false, global: false, - description: "EMP an Alarm to prevent any updates for 30 minutes.", + description: "EMP an Alarm to prevent any updates for 30 minutes", usage: "", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/reset.js b/commands/reset.js index 0431ac5..0ff57f1 100644 --- a/commands/reset.js +++ b/commands/reset.js @@ -6,7 +6,7 @@ module.exports = { name: "reset", debug: false, global: false, - description: "Reset a users data", + description: "Reset a users Banking data", usage: "[user]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], diff --git a/commands/stats.js b/commands/stats.js index e043957..39559e3 100644 --- a/commands/stats.js +++ b/commands/stats.js @@ -30,7 +30,7 @@ module.exports = { { name: 'Latency', value: `${end - start}ms`, inline: true }, { name: 'Uptime', value: `${client.secondsToDhms(process.uptime().toFixed(2))}`, inline: true }, { name: 'Bot Version', value: `${client.config.Dev} v${client.config.Version}`, inline: true }, - { name: 'Discord Version', value: 'Discord.js v14.3.0', inline: true }, + { name: 'Discord Version', value: 'Discord.js ^14.8.0', inline: true }, ) return interaction.send({ embeds: [stats] }) diff --git a/package.json b/package.json index 5e0159f..5fe1412 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "9.9.5", + "version": "9.9.6", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {