summaryrefslogtreecommitdiff
path: root/utils/perms.js
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-08 20:02:33 -0700
committer8cy <[email protected]>2020-04-08 20:02:33 -0700
commit419467085d42d47f270e5ee1dda8676134e66c41 (patch)
tree0da5c310931e8598a5e0bb881d9dbaeea28f42eb /utils/perms.js
parentfix uptime, v1.4.3 (diff)
downloads5nical-419467085d42d47f270e5ee1dda8676134e66c41.tar.xz
s5nical-419467085d42d47f270e5ee1dda8676134e66c41.zip
big changes, v1.5.0
- add utils - add fun commands - alter some commands - optimizations
Diffstat (limited to 'utils/perms.js')
-rw-r--r--utils/perms.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/perms.js b/utils/perms.js
new file mode 100644
index 0000000..9334d91
--- /dev/null
+++ b/utils/perms.js
@@ -0,0 +1,7 @@
+module.exports = {
+ name: 'perms',
+ description: '',
+ async execute(msg, args, bot) {
+ if (msg.member.hasPermission(p)) return true;
+ }
+}; \ No newline at end of file