mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 05:51:35 +02:00
Replace all sendMessage calls with send
This commit is contained in:
@@ -30,9 +30,9 @@ class ShuffleCommand extends commando.Command {
|
||||
}
|
||||
let shuffled = message.content.split(" ").slice(1).join(" ");
|
||||
if(shuffled === '') {
|
||||
message.channel.sendMessage(":x: Error! Nothing to shuffle!");
|
||||
message.channel.send(":x: Error! Nothing to shuffle!");
|
||||
} else {
|
||||
message.channel.sendMessage(shuffled.shuffle());
|
||||
message.channel.send(shuffled.shuffle());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user