mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 05:53:18 +00:00
Updated ready.js
This commit is contained in:
parent
329986be53
commit
a8fc38ffca
@ -1,4 +1,5 @@
|
|||||||
const fetch = require('node-fetch');
|
import Datastore from "../datastore.js";
|
||||||
|
import fetch from "node-fetch";
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'ready',
|
name: 'ready',
|
||||||
@ -6,6 +7,10 @@ module.exports = {
|
|||||||
|
|
||||||
client.funcs.logger("Bot", "Ready");
|
client.funcs.logger("Bot", "Ready");
|
||||||
|
|
||||||
|
/*Datastore*/
|
||||||
|
client.funcs.logger('Datastore', 'Initialize');
|
||||||
|
client.datastore = new Datastore();
|
||||||
|
|
||||||
/*DEVELOPERS*/
|
/*DEVELOPERS*/
|
||||||
client.funcs.logger('Developers');
|
client.funcs.logger('Developers');
|
||||||
|
|
||||||
@ -80,5 +85,10 @@ module.exports = {
|
|||||||
/*COMMANDS*/
|
/*COMMANDS*/
|
||||||
require(`../commands.js`).execute(client);
|
require(`../commands.js`).execute(client);
|
||||||
|
|
||||||
|
setTimeout(function () {
|
||||||
|
/*RESTORE RADIO*/
|
||||||
|
require(`../restoreradio.js`).execute(client, guilds);
|
||||||
|
}, 5000);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user