From 90123ca4c651da83e7cbaa2cbb4395f1e3cb8b20 Mon Sep 17 00:00:00 2001 From: Jan <26145882+imverum@users.noreply.github.com> Date: Mon, 8 Feb 2021 23:48:05 +0100 Subject: [PATCH] hhhhhhhhhhhhhhhhhhhhhhhhhhhh --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8d91be7..963ef79 100644 --- a/index.js +++ b/index.js @@ -66,7 +66,7 @@ client.on('message', message => { message.channel.send(`**Enabled** the uber fruitening`); break; case 'status': - message.channel.send(`Currently **${enabled.get(message.guild) ? 'disabled' : 'enabled'}**`); + message.channel.send(`Currently **${enabled.get(message.guild?.id) ? 'enabled' : 'disabled'}**`); break; } } catch(e) {