Skip to content

Commit

Permalink
[Update] Adding support for play comamnd with aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Oct 3, 2021
1 parent 5506383 commit ed92fcc
Show file tree
Hide file tree
Showing 3 changed files with 2,410 additions and 11 deletions.
7 changes: 7 additions & 0 deletions commands/music/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ const { embedMessage } = require("../../modules/embedSimple");
const playdl = require("play-dl");

module.exports = {
name: "play",
aliases: ["p"],
description: "Plays music from Youtube",
async run(message, args, client, prefix) {
if (!args[0])
return message.channel.send("You did not provide a song name!");
},
data: new SlashCommandBuilder()
.setName("play")
.setDescription("plays music from Youtube")
Expand Down
Loading

0 comments on commit ed92fcc

Please sign in to comment.