Updated restoreradio.js

This commit is contained in:
Christer Warén 2021-09-03 03:50:14 +03:00
parent 238a67c267
commit b0270e651e

View File

@ -8,6 +8,8 @@ const {
module.exports = { module.exports = {
async execute(client, guilds) { async execute(client, guilds) {
if(!client.stations) return;
guilds.forEach(async guild => { guilds.forEach(async guild => {
let state = client.funcs.loadState(client, guild); let state = client.funcs.loadState(client, guild);
if(!state) return; if(!state) return;