mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 05:49:49 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -19,7 +19,7 @@ class SayCommand extends commando.Command {
|
||||
console.log("[Command] " + message.content);
|
||||
let Copycat = message.content.split(" ").slice(1).join(" ");
|
||||
if(Copycat === "") {
|
||||
message.reply(":x: Error! Nothing to say!");
|
||||
message.channel.sendMessage(":x: Error! Nothing to say!");
|
||||
} else {
|
||||
message.channel.sendMessage(Copycat);
|
||||
if (message.channel.type === 'dm') return;
|
||||
|
||||
Reference in New Issue
Block a user