TomatenMusic-V2/TomatenMusic/Models/EventArgs/TrackPlayArgs.cs
Tim Müller ed33e5d76d add /api/player/play endpoint
fix not being able to play track with a playlist reference ``&list=`` attached
2022-03-26 11:23:40 +01:00

23 lines
625 B
C#

using Emzi0767.Utilities;
using Lavalink4NET.Player;
using TomatenMusic.Music;
namespace TomatenMusic_Api.Models.EventArgs
{
public class TrackPlayArgs : AsyncEventArgs
{
public MusicActionResponse Response { get; set; }
public ulong GuildId { get; set; }
public TimeSpan StartTime { get; set; }
public bool Now { get; set; }
public TrackPlayArgs(MusicActionResponse response, ulong guildId, TimeSpan startTime, bool now)
{
Response = response;
GuildId = guildId;
StartTime = startTime;
Now = now;
}
}
}