add status command

This commit is contained in:
Jan 2021-02-08 23:42:37 +01:00
parent 9f4cc0ca86
commit 4c3d7a32f2

View file

@ -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.');