aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/config.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/commands/config.ts b/src/commands/config.ts
new file mode 100644
index 0000000..fb79059
--- /dev/null
+++ b/src/commands/config.ts
@@ -0,0 +1,24 @@
+import {CommandHandler} from '../interfaces';
+
+const config: CommandHandler = {
+ name: 'config',
+ description: 'Change various bot settings.',
+ execute: (msg, args) => {
+ const setting = args[0];
+
+ switch (setting) {
+ case 'prefix':
+ msg.channel.send('Prefix set');
+ break;
+
+ case 'channel':
+ msg.channel.send('Channel bound');
+ break;
+
+ default:
+ msg.channel.send('Unknown setting');
+ }
+ }
+};
+
+export default config;