add status command
This commit is contained in:
parent
9f4cc0ca86
commit
4c3d7a32f2
3
index.js
3
index.js
|
@ -60,6 +60,9 @@ client.on('message', message => {
|
|||
enabled.set(message.guild.id, true);
|
||||
message.channel.send(`**Enabled** the uber fruitening`);
|
||||
break;
|
||||
case 'status':
|
||||
message.channel.send(`Currently **${enabled.get(message.guild) ? 'enabled' : 'disabled'}**`);
|
||||
break;
|
||||
}
|
||||
} catch(e) {
|
||||
logger.error('An error has occured.');
|
||||
|
|
Loading…
Reference in a new issue