if(!message.member.permission.has("manageMessages"))return`${message.author.mention}, you need to have the \`Manage Messages\` permission on this server to warn people!`;
//await message.channel.guild.banMember(member.id, 0, `ban command used by @${message.author.username}#${message.author.discriminator}`);
return`Successfully warned ${member.mention} for \`${args.join(" ")}\`.`;
}else{
if(!message.channel.guild.members.get(client.user.id).permission.has("addReactions")&&!message.channel.permissionsOf(client.user.id).has("addReactions"))return`${message.author.mention}, I don't have the \`Add Reactions\` permission!`;
if(!message.channel.guild.members.get(client.user.id).permission.has("embedLinks")&&!message.channel.permissionsOf(client.user.id).has("embedLinks"))return`${message.author.mention}, I don't have the \`Embed Links\` permission!`;