npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

telk-music

v3.0.0

Published

a Simple discord.js music module

Readme

Telk Music Discord.js Music Module

Important Note: This module does not work for discord.js masters as embeds are differnt

The commands available are:

  • play [a url or search string]: Play a video/music
  • p [a url or search string]: Play a video/music
  • search [a url or search string]: making this command a bit different than play command
  • skip [number]: Skip some number of songs. Will skip 1 song if a number is not specified.
  • queue: Display the current queue.
  • volume [number]: Change the volume from 1-200(sometimes the quality is bad)
  • leave: Clears the song queue and leaves the channel.
  • clearqueue: Clears the song queue.
  • stop: Stops the bot from playing music
  • loop [on/off]: Loops the queue
  • np: shows the song that is currently playing
  • nowplaying: shows the song that is currently playing
  • about: eh. . . u think i don't put a command for credit?
  • lyrics: shows the current song lyrics

removed commands

  • pause: Pause music playback.
  • resume: Resume music playback.

How to use

npm packages you need

  • npm install node-opus or npm install opusscript: yay a voice support npm package lul
  • npm install ytdl-core: npm package for playing the video
  • npm install telk-music: why would u read this without downloading the npm package?
  • npm install ffmpeg-binaries
  • You will also need ffmpeg

code example

const Discord = require('discord.js');
const music = require('telk-music');
const client = new Discord.Client();
const token = "<bot_token>" //dont show this to anyone!

client.on('ready', () => {
    console.log(`Music Bot is now ready!`);
});

music(client, {
  apikey: 'ytapikey' //dont show this to anyone!
});
client.login(token);

options Name | type | example

  • apikey: string | 'google api key'
  • prefix: string | '-'
  • maxQueueSize: init | 100 (0 is unlimited)
  • deletemsg: true/false | false
  • play_is_search: true/false | true
  • messages: all strings
    • search | ':mag_right: Searching `{song}` . . .'
    • added | ':musical_note: Added {song} to the queue!'
    • play | ':notes: Now Playing {song}!'
    • loop | ':white_check_mark: loop turned {toggle}!'
    • end_of_queue | ':white_check_mark: We ran out of songs.'
    • channelerror | ':x: Sorry but you cannot use {command} in dms'
  • emotes: all strings
    • x | ':x:'
    • check | ':white_check_mark:'
    • mag | ':mag_right:'
  • othercmds: true/false | true

Extra Information

  • by telk
  • music commands are disabled in dms!
  • lyric command now works better
  • doesnt response to other bots
  • add me on discord Telk#7197
  • need help? join https://discord.gg/3FKGeFw