mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
Fixed typing and added createChannel
This commit is contained in:
@@ -13,7 +13,10 @@ a.on("warn", function (m) {
|
||||
});
|
||||
|
||||
a.on("message", function (m) {
|
||||
if (m.content === "$$$") a.reply(m, "I have you cached as being " + m.author.status);
|
||||
if (m.content === "$$$") a.createChannel(m.channel.server, "quackducks").then(function (c) {
|
||||
|
||||
a.sendMessage(c, "I'm alive!");
|
||||
});
|
||||
});
|
||||
a.on("userTypingStart", function (user, chan) {
|
||||
console.log(user.username + " typing");
|
||||
|
||||
Reference in New Issue
Block a user