Skip to content
Snippets Groups Projects
Commit f576f790 authored by Reviath's avatar Reviath
Browse files

Update commands/help.js

parent 886d12cc
No related branches found
No related tags found
No related merge requests found
const Discord = require('discord.js')
const settings = require('../settings.json');
let prefix = settings.prefix;
exports.run = async (client, message, args) => {
let settings = require('../settings.json')
exports.run = async (client, message, args, connection) => {
let guildid = message.guild.id;
var sql = `SELECT prefix FROM prefixes WHERE guildid ='${guildid}'`;
connection.query(sql, function (err, result) {
if (result.length < 1) {
let prefix1 = settings.prefix;
const helpembed = new Discord.MessageEmbed()
.setTitle('Koakuma Help Menu!')
.setAuthor(message.author.username, message.author.avatarURL())
.addField(`<a:FeelsEveryone:800800122141278208> Economy Commands`, `\`${prefix1}balance\` Shows your balance \n\`${prefix1}daily\` Gives 500$ daily \n\`${prefix1}coinflip\` You can get your money doubled or you can lose all \n\`${prefix1}send\` Sends your money the person that you mentioned \n\`${prefix1}roulette\` Play roulette .roulette [Color] [Amount] \n\`${prefix1}slots\` Play slots game`)
.addField(`<a:FeelsEveryone:800800122141278208> Fun Commands`,`\`${prefix1}cuddle\` Cuddle the person that you mentioned \n\`${prefix1}highfive\` Highfive wiht the person that you mentioned \n\`${prefix1}hug\` Hug the person that you mentioned \n\`${prefix1}kiss\` Kiss the person that you mentioned \n\`${prefix1}lick\` Lick the person that you mentioned \n\`${prefix1}poke\` Poke the person that you mentioned \n\`${prefix1}slap\` Slap the person that you mentioned \n\`${prefix1}koakuma\` Send's koakuma image`)
.setColor(0xff776e)
message.channel.send(helpembed)
}
else {
prefix = result[0].prefix;
const help = new Discord.MessageEmbed()
.setTitle('Koakuma Help Menu!')
.setAuthor(message.author.username, message.author.avatarURL())
......@@ -9,6 +23,9 @@ const help = new Discord.MessageEmbed()
.addField(`<a:FeelsEveryone:800800122141278208> Fun Commands`,`\`${prefix}cuddle\` Cuddle the person that you mentioned \n\`${prefix}highfive\` Highfive wiht the person that you mentioned \n\`${prefix}hug\` Hug the person that you mentioned \n\`${prefix}kiss\` Kiss the person that you mentioned \n\`${prefix}lick\` Lick the person that you mentioned \n\`${prefix}poke\` Poke the person that you mentioned \n\`${prefix}slap\` Slap the person that you mentioned \n\`${prefix}koakuma\` Send's koakuma image`)
.setColor(0xff776e)
message.channel.send(help)
}
})
};
module.exports.help = {
name: 'help',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment