Skip to content

Commit

Permalink
Replace forgotten older prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
cwchristerw committed Feb 9, 2024
1 parent a527f84 commit c424c93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
return msg.channel.send(':x: There is nothing playing.');
}
if (msg.content === `${PREFIX}`) return;
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
return;
}
if (msg.content === `${PREFIX}`) return;
Expand All @@ -195,7 +195,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
}
}
}
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
return;
} else {
const args = msg.content.split(' ');
Expand Down Expand Up @@ -312,7 +312,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
if (msg.content === `${PREFIX}`) {
return;
}
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
return;
}
});
Expand Down

0 comments on commit c424c93

Please sign in to comment.