mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Replace all sendMessage calls with send
This commit is contained in:
@@ -19,7 +19,7 @@ class FishyCommand extends commando.Command {
|
||||
console.log("[Command] " + message.content);
|
||||
let coin = [':fish:', ':tropical_fish:', ':blowfish:'];
|
||||
coin = coin[Math.floor(Math.random() * coin.length)];
|
||||
message.channel.sendMessage("You caught a: " + coin);
|
||||
message.channel.send("You caught a: " + coin);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user