code: async def jsk_voice(self, ctx: commands.Context):
          
  
          # if using a subcommand, short out
          if ctx.invoked_subcommand is not None and ctx.invoked_subcommand is not self.jsk_voice:
              return
  
          # give info about the current voice client if there is one
          voice = ctx.guild.voice_client
  
          if not voice or not voice.is_connected():
              return await ctx.send("Not connected.")
  
          await ctx.send(f"Connected to {voice.channel.name}, "
                         f"{'paused' if voice.is_paused() else 'playing' if voice.is_playing() else 'idle'}.")
docs: Voice-related commands.
  
          If invoked without subcommand, relays current voice state.