forked from embee/woomy
fixed bugs
This commit is contained in:
parent
fef8c0e5b0
commit
b2b5431ee4
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ exports.run = (client, message, args, level) => {
|
|||
);
|
||||
};
|
||||
if (message.content.includes("@everyone")) {
|
||||
return message.channel.send(`<@${message.author.id}>`);
|
||||
return message.channel.send(message.author);
|
||||
};
|
||||
|
||||
message.delete().catch(O_o => {});
|
||||
|
@ -24,5 +24,5 @@ exports.help = {
|
|||
name: "say",
|
||||
category: "Fun",
|
||||
description: "Makes Woomy copy what the user says.",
|
||||
usage: "echo <-hide> [message]"
|
||||
usage: "echo [message]"
|
||||
};
|
||||
|
|
|
@ -15,7 +15,7 @@ module.exports = (client, oldState, newState) => {
|
|||
}
|
||||
|
||||
// Auto-disconnect feature
|
||||
if (guild.playing && guild.channel && guild.voiceChannel.id === oldState.channelID) {
|
||||
if (guild.playing && guild.voiceChannel && guild.voiceChannel.id === oldState.channelID) {
|
||||
if (guild.voiceChannel.members.filter(member => !member.user.bot).size < 1) {
|
||||
guild.message.channel.send('Everyone has left my voice channel, the music will end in two minutes if no one rejoins.')
|
||||
.then(msg => {
|
||||
|
|
Loading…
Reference in a new issue