mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 00:08:06 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -22,7 +22,7 @@ class ReverseCommand extends commando.Command {
|
||||
}
|
||||
let messagecontent = message.content.split(" ").slice(1).join(" ");
|
||||
if(messagecontent === "") {
|
||||
message.reply(":x: Error! Nothing to reverse!");
|
||||
message.channel.sendMessage(":x: Error! Nothing to reverse!");
|
||||
} else {
|
||||
let reversed = reverseString(messagecontent);
|
||||
message.channel.sendMessage(reversed);
|
||||
|
||||
Reference in New Issue
Block a user