fixed calling of NodeBB libraries to use module.require (and not require()), also using User.exists, instead of hand-rolled exists method
fixed calling of NodeBB libraries to use module.require (and not require()), also using User.exists, instead of hand-rolled exists method

julianlam/nodebb-plugin-mentions,exo-do/nodebb-plugin-mentions,exo-do/nodebb-plugin-mentions-exodo,drewdotpro/nodebb-plugin-mentions,barisusakli/nodebb-plugin-mentions