mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Added reply
This commit is contained in:
@@ -17,7 +17,8 @@ mybot.on("ready", function () {
|
||||
mybot.on("message", function (msg) {
|
||||
|
||||
if(msg.content === "pmme"){
|
||||
mybot.sendMessage(msg.channel, "You know what "+msg.sender+"? NO");
|
||||
console.log("yes we found it!");
|
||||
mybot.reply(msg, "You know what "+msg.sender+"? NO");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user