mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-08 19:31:35 +02:00
Inital commit
This commit is contained in:
parent
afadcb9ee5
commit
eca84c8b69
14 changed files with 2884 additions and 0 deletions
24
src/commands/config.ts
Normal file
24
src/commands/config.ts
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue