Skip to content

Commit

Permalink
[Enhancement] Added Anime option for categories
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Sep 3, 2021
1 parent 3166d97 commit d4788b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions commands/misc/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
.setName("category")
.setDescription("show help by category")
.addChoice("Admin", "admin")
.addChoice("Anime", "anime")
.addChoice("Fun", "fun")
.addChoice("Music", "music")
.addChoice("Misc", "misc")
Expand Down Expand Up @@ -37,6 +38,9 @@ module.exports = {
case "fun":
help = printHelpByCollection(client.commands.fun);
break;
case "anime":
help = printHelpByCollection(client.commands.anime);
break;
case "music":
help = printHelpByCollection(client.commands.music);
break;
Expand All @@ -51,14 +55,10 @@ module.exports = {
color: "#9dcc37",
title: `${client.user.username}'s Commands!`,
description: `${help.join("\n")}`,
author: {
name: `${interaction.user.username}`,
icon_url: `${interaction.user.avatarURL()}`,
},
timestamp: new Date(),
footer: {
text: "Created by naseif",
icon_url: "https://i.imgur.com/KrAvM8U.jpg",
text: `Requested by ${interaction.user.username}`,
icon_url: `${interaction.user.avatarURL()}`,
},
};

Expand Down

0 comments on commit d4788b9

Please sign in to comment.