Skip to content

Commit

Permalink
Create command_exapmle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kabirjaipal authored Sep 19, 2021
1 parent 0727d33 commit 75284c6
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions command_exapmle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

// slash example
const { CommandInteraction, Client } = require("discord.js");

module.exports = {
name: "",
description: "",
permissions : [""],
/**
*
* @param {Client} client
* @param {CommandInteraction} interaction
* @param {String[]} args
*/
run: async (client, interaction, args) => {

},
};


// command example
const { Message, Client } = require("discord.js");

module.exports = {
name: "",
aliases: [''],
permissions : [""],
/**
*
* @param {Client} client
* @param {Message} message
* @param {String[]} args
*/
run: async (client, message, args) => {

},
};

0 comments on commit 75284c6

Please sign in to comment.