hullcss-discord-bot/commands/general/help.js

87 lines
2.6 KiB
JavaScript
Raw Normal View History

2022-05-10 01:24:31 +01:00
const discord = require("discord.js");
module.exports = {
name: "help",
aliases: [''],
/**
*
* @param {Client} client
* @param {Message} message
* @param {String[]} args
*/
run: async (client, message, args) => {
if(!args[0]){
const embed = new discord.MessageEmbed()
.setTitle("HullCSS Help")
.setDescription("You can use `-help <category>` to get additional commands within a specfic category")
.setColor('GREEN')
.addField('❓`-help`','This Command', true)
2022-05-10 12:25:45 +01:00
.addField('🛠️`-help admin`','Displays Admin Commands!', true)
2022-05-10 01:24:31 +01:00
.addField(' `-help general`', 'Displays General Commands!', true)
2022-05-10 12:25:45 +01:00
.addField('🎉`-help fun`', 'Displays Fun Commands!', true)
2022-05-13 19:35:32 +01:00
.addField('-help gorb', 'Displays Gorb Commands', true)
2022-05-10 01:24:31 +01:00
message.channel.send({ embeds: [embed] });
}
if(args[0] === 'admin'){
const embed = new discord.MessageEmbed()
.setTitle("Admin Commands")
.setColor('GREEN')
message.channel.send({ embeds: [embed] });
}
if(args[0] === 'general'){
const embed = new discord.MessageEmbed()
.setTitle("General Comamnds")
.setColor('GREEN')
2022-05-10 01:41:50 +01:00
.addField('-buy', 'Sends a link to purchase membership')
.addField('-links', 'Get all the links')
2022-05-13 19:40:34 +01:00
message.channel.send({ embeds: [embed] });
}
2022-05-10 01:24:31 +01:00
2022-05-13 19:40:34 +01:00
if(args[0] === 'fun'){
const embed = new discord.MessageEmbed()
.setTitle("Fun Comamnds")
.setColor('GREEN')
2022-05-10 01:24:31 +01:00
2022-05-13 19:40:34 +01:00
.addField('-8ball', 'Answer your deepest questions.')
.addField('-gorb', 'guinea pig orb')
2022-05-10 12:25:45 +01:00
message.channel.send({ embeds: [embed] });
}
2022-05-13 19:40:34 +01:00
2022-05-10 12:25:45 +01:00
if(args[0] === 'fun'){
const embed = new discord.MessageEmbed()
.setTitle("Fun Comamnds")
.setColor('GREEN')
.addField('-8ball', 'Answer your deepest questions.')
.addField('-gorb', 'guinea pig orb')
2022-05-13 19:35:32 +01:00
message.channel.send({ embeds: [embed] });
}
2022-05-10 12:25:45 +01:00
2022-05-13 19:35:32 +01:00
2022-05-13 19:36:37 +01:00
if(args[0] === 'gorb'){
2022-05-13 19:35:32 +01:00
const embed = new discord.MessageEmbed()
2022-05-13 19:40:34 +01:00
.setTitle("Gorb Comamnds")
2022-05-13 19:35:32 +01:00
.setColor('GREEN')
.addField('-gorb cs', 'CS Gorb')
.addField('-gorb party', 'Party Gorb')
2022-05-13 19:40:34 +01:00
.addField('-gorb christmas', 'Christmas Gorb')
2022-05-13 19:35:32 +01:00
.addField('-gorb storm', 'Storm Gorb')
2022-05-10 12:25:45 +01:00
2022-05-10 01:24:31 +01:00
message.channel.send({ embeds: [embed] });
}
2022-05-13 19:40:34 +01:00
2022-05-10 01:24:31 +01:00
}
}