Browse Source

Update help for kulboard and change kulboard message color

master
Abheek Dhawan 4 years ago
parent
commit
2868d524cf
  1. 5
      index.js

5
index.js

@ -400,9 +400,9 @@ async function helpMessage(message) {
.setURL('https://adat.link/awesomemod') .setURL('https://adat.link/awesomemod')
.addField(`Creator`, `ADawesomeguy#2235`, true) .addField(`Creator`, `ADawesomeguy#2235`, true)
.addField(`Prefix`, `\`${prefix}\``, true) .addField(`Prefix`, `\`${prefix}\``, true)
.addField(`Using the bot`, `To use this bot, first make sure it has admin permissions. If it doesn't, you will 😢. To run a command, prefix it with \`${prefix}\`. One of the most useful things this bot brings to the table is the logging. To enable logging, you can run the command \`${prefix}startLogs\`. Another useful feature is the role request feature. Anyone can simply run the command \`${prefix}roleRequest [role]\`, and an admin can approve it or decline it.`) .addField(`Using the bot`, `To use this bot, first make sure it has admin permissions. If it doesn't, you will 😢. To run a command, prefix it with \`${prefix}\`. One of the most useful things this bot brings to the table is the logging. To enable logging, you can run the command \`${prefix}startLogs\`. Another useful feature is the role request feature. Anyone can simply run the command \`${prefix}roleRequest [role]\`, and an admin can approve it or decline it. Additionally, there's now also a külboard, which will allow messages with a sufficient amount of 😎 reactions to be posted in a special read-only channel`);
.addField(`Meta commands:`, `Help command: \`${prefix}help\`\nAbout your server: \`${prefix}aboutServer\``) .addField(`Meta commands:`, `Help command: \`${prefix}help\`\nAbout your server: \`${prefix}aboutServer\``)
.addField(`Admin commands:`, `Add logs channel: \`${prefix}startLogs\`\nBulk delete: \`${prefix}bulkDelete\`\nBan: \`${prefix}ban [user]\`\nKick: \`${prefix}kick [user]\`\nGive user role: \`${prefix}addRole [role]\``) .addField(`Admin commands:`, `Add logs channel: \`${prefix}startLogs\`\nAdd külboard channel: \`${prefix}kulboard\`\nBulk delete: \`${prefix}bulkDelete\`\nBan: \`${prefix}ban [user]\`\nKick: \`${prefix}kick [user]\`\nGive user role: \`${prefix}addRole [role]\``)
.addField(`User commands:`, `Role request: \`${prefix}roleRequest [role]\`\nView users with role: \`${prefix}usersWithRole [role]\`\nUser info: \`${prefix}userInfo [user]\``) .addField(`User commands:`, `Role request: \`${prefix}roleRequest [role]\`\nView users with role: \`${prefix}usersWithRole [role]\`\nUser info: \`${prefix}userInfo [user]\``)
.setThumbnail(client.user.avatarURL()) .setThumbnail(client.user.avatarURL())
.setFooter(`Bot ID: ${client.user.id}`) .setFooter(`Bot ID: ${client.user.id}`)
@ -678,6 +678,7 @@ client.on('messageReactionAdd', (messageReaction, user) => {
.addField("Message", messageContent) .addField("Message", messageContent)
.addField("Channel", messageReaction.message.channel) .addField("Channel", messageReaction.message.channel)
.setFooter("Message ID: " + messageReaction.message.id) .setFooter("Message ID: " + messageReaction.message.id)
.setColor("00c5ff")
.setTimestamp(); .setTimestamp();
collection.findOne({ guild_id: messageReaction.message.guild.id }, (error, result) => { collection.findOne({ guild_id: messageReaction.message.guild.id }, (error, result) => {
if (error) { if (error) {

Loading…
Cancel
Save