summaryrefslogtreecommitdiff
path: root/commands/say.js
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-07 10:21:53 -0700
committer8cy <[email protected]>2020-04-07 10:21:53 -0700
commit3c8023f23931f8573bdf27ed8f3e674c04ff7eaa (patch)
treeade3a418304befa9f8576128ea7dc595b590273e /commands/say.js
parentadd yt test, 1.3.0 (diff)
downloads5nical-3c8023f23931f8573bdf27ed8f3e674c04ff7eaa.tar.xz
s5nical-3c8023f23931f8573bdf27ed8f3e674c04ff7eaa.zip
port all the stuff from app.js to commands/
Diffstat (limited to 'commands/say.js')
-rw-r--r--commands/say.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/commands/say.js b/commands/say.js
new file mode 100644
index 0000000..914a393
--- /dev/null
+++ b/commands/say.js
@@ -0,0 +1,11 @@
+module.exports = {
+ name: 'say',
+ description: '',
+ execute(msg, args, bot) {
+ if (msg.member.hasPermission('KICK_MEMBERS')) {
+ m = args.join(' ');
+ msg.channel.send(m);
+ msg.delete();
+ }
+ }
+} \ No newline at end of file