@commands.command(name='<STR_LIT>')<EOL><INDENT>@commands.guild_only()<EOL>async def _seek(self, ctx, *, time: str):<DEDENT>
player = self.bot.lavalink.players.get(ctx.guild.id)<EOL>if not player.is_playing:<EOL><INDENT>return await ctx.send('<STR_LIT>')<EOL><DEDENT>seconds = time_rx.search(time)<EOL>if not seconds:<EOL><INDENT>return await ctx.send('<STR_LIT>')<EOL><DEDENT>seconds = int(seconds.group()) * <NUM_LIT:1000><EOL>if time.startswith('<STR_LIT:->'):<EOL><INDENT>seconds *= -<NUM_LIT:1><EOL><DEDENT>track_time = player.position + seconds<EOL>await player.seek(track_time)<EOL>await ctx.send(f'<STR_LIT>')<EOL>
Seeks to a given position in a track.