update/remove deprecated help sub command
This commit is contained in:
2 files changed
+2
-8
No files matched your search
+1
-7
@@ -54,13 +54,7 @@ module.exports = {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
run: async (client, interaction, args, start) => {
|
run: async (client, interaction, args, start) => {
|
||||||
if (args[0].name == 'version') {
|
if (args[0].name == 'commands') {
|
||||||
const versionEmbed = new EmbedBuilder()
|
|
||||||
.setTitle(`Current DayZR Bot Version`)
|
|
||||||
.setDescription(client.config.Version);
|
|
||||||
|
|
||||||
return interaction.send({ embeds: [versionEmbed] });
|
|
||||||
} else if (args[0].name == 'commands') {
|
|
||||||
let Commands = client.commands.filter((cmd) => {
|
let Commands = client.commands.filter((cmd) => {
|
||||||
return !cmd.debug
|
return !cmd.debug
|
||||||
}).map((cmd) =>
|
}).map((cmd) =>
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayzr-bot",
|
"name": "dayzr-bot",
|
||||||
"version": "13.0.2",
|
"version": "13.0.3",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user