Sorry, I'm not good at english
Please do npm i -g yarn if you don't have yarn installed on your pc, then you can run yarn install
{
"token": "",
"prefix": "",
"mongoURI": "",
"testServer": ""
}
import { Command } from '../../interfaces';
export const command: Command = {
name: '', //Command Name
description: '', //Command Description
aliases: [], //Command Aliases ex: ['p']
usage: '', // Command Usage
testOnly: false, // if this property is true, than this command will only available at your test server
permissions: [], // Permissions, ex ['BAN_MEMBERS', 'KICK_MEMBERS']
run: async (client, message, args) => {
//Write your code here
},
};
import { Slash } from '../../interfaces';
export const slash: Slash = {
name: '', //Command Name
description: '', //Command Description
testOnly: false, //If this property is true, than this command will only available at your test server
options: [], //Slash Command Options
run: async (client, interaction, args) => {
//Write your code here
},
};
import { Event } from '../interfaces';
export const event: Event = {
name: '', //Event name, ex: ready
run: async(client) => {
//Write your code here
}
}