Added buy command

imgbot
kieranrobson 2022-05-10 01:24:31 +01:00
parent 02c266919e
commit 36de3a1510
4 changed files with 71 additions and 103 deletions

20
commands/general/buy.js Normal file
View File

@ -0,0 +1,20 @@
const discord = require("discord.js");
module.exports = {
name: "buy",
aliases: [''],
/**
*
* @param {Client} client
* @param {Message} message
* @param {String[]} args
*/
run: async (client, message, args) => {
const embed = new discord.MessageEmbed()
.setTitle("Thanks for considering to become a paid member!")
.setColor('GREEN')
.setFooter(`Called By: ${message.author.tag}`)
.addField('You can purchase from below!','https://hulluniunion.com/shop?aid=304')
message.channel.send({ embeds: [embed] });
}
}

51
commands/general/help.js Normal file
View File

@ -0,0 +1,51 @@
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)
.addField('🎉`-help admin`','Displays Admin Commands!', true)
.addField(' `-help general`', 'Displays General Commands!', true)
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')
.addField('-link', 'Sends a link to purchase membership')
message.channel.send({ embeds: [embed] });
}
}
}

View File

@ -1,103 +0,0 @@
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("Clarence Help")
.setDescription("You can use `-help <category>` to get additional commands within a specfic category")
.setColor('ORANGE')
.addField('❓`-help`','This Command', true)
.addField('🎉`-help admin`','Displays Admin Commands!', true)
.addField('`-help general`', 'Displays General Commands', true)
.addField('`-help info`', 'Displays Information Commands', true)
.addField('🎉`-help fun`','Fun Commands!', true)
.addField('🔫`-help siege`', 'Displays Siege Commands', true)
message.channel.send({ embeds: [embed] });
}
if(args[0] === 'admin'){
const embed = new discord.MessageEmbed()
.setTitle("Admin Commands")
.setColor('ORANGE')
.addField('-ban','Bans a user from the server')
.addField('-clear', 'Clears x ammount of messages')
.addField('-kick', 'Kicks a user from the server')
.addField('-mute', 'Mutes a user')
message.channel.send({ embeds: [embed] });
}
if(args[0] === 'fun'){
const embed = new discord.MessageEmbed()
.setTitle("Fun Commands")
.setColor('ORANGE')
.addField('-8ball', 'Answer your darkest questions')
.addField('-bonk','Go to horny jail!')
.addField('-cookie','Give a cookie to someone')
.addField('-icarly', 'The lyrics of the greatest song ever')
.addField('-mega', 'A mega pint?')
.addField('-bong', 'Hit up some friends and hit a bong')
//.addField('-ah', 'ah')
//.addField('-image', 'Search Google Images For An Image')
//.addField('-flip', 'Flip a coin')
message.channel.send({ embeds: [embed] });
}
if(args[0] === 'siege'){
const embed = new discord.MessageEmbed()
.setTitle("Siege Commands")
.setColor('ORANGE')
.addField('-limb', 'Displays limb damage per operator')
.addField('-muzzle','Displays muzzle attachments For all weapons')
.addField('-buy','A link to buy siege for cheap')
message.channel.send({ embeds: [embed] });
}
if(args[0] === 'general'){
const embed = new discord.MessageEmbed()
.setTitle("General Comamnds")
.setColor('ORANGE')
.addField('-addemoji', 'Adds emoji to the server')
.addField('-jumbo', 'Enalrges an emoji')
.addField('-avatar', 'Gets a users avatar')
.addField('-translate', 'Translates messages to english')
message.channel.send({ embeds: [embed] });
}
if(args[0] === 'info'){
const embed = new discord.MessageEmbed()
.setTitle("Information Commands")
.setColor('ORANGE')
.addField('-ping','Displays the ping')
.addField('-channelinfo', 'Dispalys information about a certain channel')
.addField('-userinfo', 'Dispalys information about a certain user')
message.channel.send({ embeds: [embed] });
}
}
}