play method

PlayParameters play(
  1. Snowflake guildId,
  2. Track track, {
  3. bool replace = false,
  4. Duration startTime = const Duration(),
  5. Duration? endTime,
  6. Snowflake? requester,
  7. Snowflake? channelId,
})

Get the PlayParameters object for a specific track

Implementation

PlayParameters play(Snowflake guildId, Track track, {
  bool replace = false,
  Duration startTime = const Duration(),
  Duration? endTime,
  Snowflake? requester,
  Snowflake? channelId
}) => PlayParameters(
  this,
  track,
  guildId,
  replace,
  startTime,
  endTime,
  requester,
  channelId
);