From ecb23c855012dff2d67b0674c0dcbb4c71c00e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 9 Mar 2020 02:03:19 +0200 Subject: [PATCH] fetch outside of module.export in ready.js --- events/ready.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index 98ed8db..fd0652b 100644 --- a/events/ready.js +++ b/events/ready.js @@ -1,7 +1,8 @@ +const fetch = require('node-fetch'); + module.exports = { name: 'ready', async execute(client, Discord) { - const fetch = require('node-fetch'); console.log('RadioX'); console.log('We will bring you finnish radio to your discord server');