mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Replace more "message.reply" with "sendMessage"
This commit is contained in:
@@ -53,7 +53,7 @@ class WeatherCommand extends commando.Command {
|
||||
info.wind.speed, true);
|
||||
message.channel.sendEmbed(embed).catch(console.error);
|
||||
}).catch(err => {
|
||||
message.reply(":x: Error! Make sure you typed the location correctly!");
|
||||
message.channel.sendMessage(":x: Error! Make sure you typed the location correctly!");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ client.on('message', (message) => {
|
||||
message.channel.stopTyping();
|
||||
});
|
||||
} else {
|
||||
message.reply(":x: Error! You are either not verified for Cleverbot, or banned from it. Please check #rules for a link to the forum to sign-up for Cleverbot.");
|
||||
message.channel.sendMessage(":x: Error! You are either not verified for Cleverbot, or banned from it. Please check #rules for a link to the forum to sign-up for Cleverbot.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user