Skip to content

Commit

Permalink
fix(PlayCommand): Fix grammars
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 committed Jun 21, 2020
1 parent f82839c commit f228b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/PlayCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class PlayCommand extends BaseCommand {
serverQueue.connection!.voice.setSelfDeaf(true);
const SongData = await ytdl(song.url, { cache: this.client.config.cacheYoutubeDownloads });

if (SongData.cache) this.client.log.info(`${this.client.shard ? `[Shard #${this.client.shard.ids}]` : ""} Using cache for ${song.title} for ${guild.name}`);
if (SongData.cache) this.client.log.info(`${this.client.shard ? `[Shard #${this.client.shard.ids}]` : ""} Using cache for song "${song.title}" on ${guild.name}`);

serverQueue.connection!.play(SongData.stream, {
type: SongData.canDemux ? "webm/opus" : "unknown",
Expand Down

0 comments on commit f228b4d

Please sign in to comment.