mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 12:23:38 +00:00
Changes
This commit is contained in:
@ -2,7 +2,6 @@ const { Client, Collection } = require('discord.js');
|
||||
const Discord = require('discord.js');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const fetch = require('node-fetch');
|
||||
const events = '../events/';
|
||||
|
||||
module.exports = class extends Client {
|
||||
@ -30,9 +29,6 @@ module.exports = class extends Client {
|
||||
this.commandAliases.set(command.alias, command);
|
||||
}
|
||||
|
||||
client.stations = fetch('https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json')
|
||||
.then(res => res.json());
|
||||
|
||||
this.on('ready', () => {
|
||||
require(`${events}ready`).execute(this, Discord);
|
||||
});
|
||||
|
Reference in New Issue
Block a user