summaryrefslogtreecommitdiff
path: root/commands/botstatus.js
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-07 10:38:48 -0700
committer8cy <[email protected]>2020-04-07 10:38:48 -0700
commit1885ab12c73c7a79a2e7d1a8055f9bd2b0a7f71b (patch)
tree67f050cc81dea4b9b21f0d0349ecbdb263ecf221 /commands/botstatus.js
parentport all the stuff from app.js to commands/ (diff)
downloads5nical-1885ab12c73c7a79a2e7d1a8055f9bd2b0a7f71b.tar.xz
s5nical-1885ab12c73c7a79a2e7d1a8055f9bd2b0a7f71b.zip
final test push before master
Diffstat (limited to 'commands/botstatus.js')
-rw-r--r--commands/botstatus.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/commands/botstatus.js b/commands/botstatus.js
new file mode 100644
index 0000000..6401571
--- /dev/null
+++ b/commands/botstatus.js
@@ -0,0 +1,15 @@
+// TODO: bot status
+
+module.exports = {
+ name: 'botstatus',
+ aliases: ['status', 'bs'],
+ description: '',
+ async execute(msg, args, bot) {
+ if (msg.member.hasPermission('KICK_MEMBERS')) {
+ m = args.join(' ');
+ bot.user.setActivity(m);
+ } else {
+ msg.reply('insufficent perms bruh');
+ }
+ }
+}; \ No newline at end of file