mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 17:03:17 +00:00
Changes
This commit is contained in:
parent
c51e5ea3b8
commit
1147093788
@ -14,6 +14,7 @@ module.exports = {
|
||||
} else {
|
||||
if (voiceChannel !== radio.voiceChannel) return msg.channel.send(client.messageEmojis["error"] + client.messages.wrongVoiceChannel);
|
||||
}
|
||||
if(!client.stations) return msg.channel.send(client.messageEmojis["error"] + client.messages.errorToGetPlaylist);
|
||||
if (!args[1]) return msg.channel.send(client.messages.noQuery);
|
||||
const permissions = voiceChannel.permissionsFor(msg.client.user);
|
||||
if (!permissions.has('CONNECT')) {
|
||||
|
@ -31,5 +31,6 @@ module.exports = {
|
||||
newVolume: "Volume is now: **%volume%**",
|
||||
statisticsTitle: "Statistics",
|
||||
maintenanceTitle: "Maintenance",
|
||||
maintenanceDescription: "This command is not ready to be used by anyone."
|
||||
maintenanceDescription: "This command is not ready to be used by anyone.",
|
||||
errorToGetPlaylist: "There is no playlist which this bot can use to play radio."
|
||||
};
|
Loading…
Reference in New Issue
Block a user