This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { prefix } = require("../config.json"); | |
| module.exports = { | |
| name: "help", | |
| description: "List all of my commands or info about a specific command.", | |
| aliases: ["commands"], | |
| usage: "[command name]", | |
| cooldown: 5, | |
| execute(message, args) { | |
| const data = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // nodejs for filesystem | |
| const fs = require("fs"); | |
| // require the discord.js module | |
| const Discord = require("discord.js"); | |
| // link to .json config file | |
| const { prefix, token, adminRole } = require("./config.json"); | |
| // create a new discord client | |
| const client = new Discord.Client(); | |
| // ??? |