mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 03:40:19 +00:00
Update startTime when changing stations in play.js
This commit is contained in:
parent
179914a2f2
commit
7d4fb50351
@ -137,8 +137,10 @@ module.exports = {
|
||||
client.funcs.statisticsUpdate(client, interaction.guild, radio);
|
||||
radio.audioPlayer.stop();
|
||||
|
||||
let date = new Date();
|
||||
radio.station = station;
|
||||
radio.textChannel = interaction.channel;
|
||||
radio.startTime = date.getTime();
|
||||
play(interaction, interaction.guild, client, url, Discord);
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user