fetch outside of module.export in ready.js

This commit is contained in:
Christer Warén 2020-03-09 02:03:19 +02:00
parent 1deaba2376
commit ecb23c8550

View File

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