Inital commit

This commit is contained in:
Max Isom 2020-03-09 11:57:39 -05:00
parent afadcb9ee5
commit eca84c8b69
14 changed files with 2884 additions and 0 deletions

24
src/commands/config.ts Normal file
View file

@ -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;