say, embed, and code

This commit is contained in:
Daniel Odendahl Jr
2017-03-25 23:14:29 +00:00
parent 55b8969ead
commit 8d3613773a
97 changed files with 154 additions and 154 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ module.exports = class WarnCommand extends commando.Command {
console.log(`[Command] ${message.content}`);
let userToWarn = args.member;
let reason = args.reason;
if (!message.guild.channels.exists("name", "mod_logs")) return message.channel.send(":x: Error! Could not find the mod_logs channel! Please create it!");
let okHandMsg = await message.channel.send(":ok_hand:");
if (!message.guild.channels.exists("name", "mod_logs")) return message.say(":x: Error! Could not find the mod_logs channel! Please create it!");
let okHandMsg = await message.say(":ok_hand:");
const embed = new Discord.RichEmbed()
.setAuthor(`${message.author.username}#${message.author.discriminator}`, message.author.avatarURL)
.setColor(0xFFFF00)