Update play command

This commit is contained in:
Christer Warén 2021-09-16 02:07:05 +03:00
parent d64b0ac0cb
commit 126d5e9ba2

View File

@ -124,9 +124,8 @@ module.exports = {
construct.connection = connection; construct.connection = connection;
let date = new Date(); let date = new Date();
construct.startTime = date.getTime(); construct.startTime = date.getTime();
client.funcs.play(client, interaction, interaction.guild, station);
client.datastore.checkEntry(interaction.guild.id); client.datastore.checkEntry(interaction.guild.id);
client.funcs.play(client, interaction, interaction.guild, station);
} catch (error) { } catch (error) {
console.log(error); console.log(error);
client.radio.delete(interaction.guild.id); client.radio.delete(interaction.guild.id);