Skip to content

ZiProject/ZiplayerExpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

ZiplayerExpress

A modular Discord voice player with plugin system for @discordjs/voice.

Features

  • Message commands: !play, !skip, !stop, !pause, !resume,!volume, !queue, !np, !shuffle, !loop, !autoplay
  • Buttons (Bplayer): refresh, previous, pause/resume, next,stop, search, autoPlay
  • Select menus (S_player_Func): Loop, AutoPlay, Queue, Mute/Unmute, Vol±, Lyrics toggle, Shuffle, Lock,
  • Player events: trackStart, trackEnd, queueEnd, playerStop,playerPause, playerResume, volumeChange, playerDestroy, playerError, queueAdd

Installation

npm install @ziplayer/express discord.js opusscript

Quick Start

import { ZiMusicBot } from "@ziplayer/express";
import { Client, GatewayIntentBits } from "discord.js";

//discordjs Client
const client = new Client({
	intents: [
		GatewayIntentBits.Guilds,
		GatewayIntentBits.GuildVoiceStates,
		GatewayIntentBits.MessageContent,
		GatewayIntentBits.GuildMessages,
	],
});

const ZMusic = new ZiMusicBot(client, {
	prefix: "!",
});
// for slash cmd:
await ZMusic.createPlayer(guildId, VoiceChannel, TextChannel, User);
ZMusic.play("QUERY");

client.login("YOUR BOT TOKEN");

CMD:

  • search
  • play
  • skip
  • stop
  • pause
  • resume
  • queue
  • vol, volume
  • np, nowplaying
  • shuffle
  • loop
  • autoplay

Useful Links

Example | Repo | Package | Plugin | Extension

License

MIT License

About

A Discord voice player easy to setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors