From 6b9df1e15b66ed421278c0533c1425198c023d13 Mon Sep 17 00:00:00 2001 From: ame Date: Sun, 28 Jan 2024 11:31:37 -0600 Subject: changes to mod detection --- src/util.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/util.js b/src/util.js index 880c3c4..601dbec 100644 --- a/src/util.js +++ b/src/util.js @@ -1,6 +1,9 @@ const rem_emp = function (e) {return e !== "";} -module.exports = { +module.exports = { + is_mod(member){ + return member.permissions!=null&&member.roles.cache.has("586781513471885323") + }, generate_id(){ let config = JSON.parse(fs.readFileSync(config_loc)) var ticket = ""; -- cgit v1.2.3