Use set for listing all custom commands
This commit is contained in:
parent
eae1e9130e
commit
7702f10587
2 changed files with 5 additions and 11 deletions
|
@ -61,7 +61,7 @@ module.exports = {
|
|||
}
|
||||
case "list": {
|
||||
const embed = new EmbedBuilder();
|
||||
sendText = getAllCustomCommands();
|
||||
sendText = getAllCustomCommands(client);
|
||||
if(sendText !== ""){
|
||||
embed.setColor(15780145)
|
||||
embed.addFields(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue