Skip to content

Instantly share code, notes, and snippets.

View xXnikosXx's full-sized avatar
🎯
Focusing

Nikos xXnikosXx

🎯
Focusing
  • Student
  • Greece
View GitHub Profile
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 = [];
// 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();
// ???