mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
Added createServer
This commit is contained in:
@@ -9,7 +9,12 @@ a.on("debug", function (m) {
|
||||
return console.log("[debug]", m);
|
||||
});
|
||||
|
||||
a.on("message", function (m) {});
|
||||
a.on("message", function (m) {
|
||||
if (m.content === "$$$") a.internal.createServer("H a h").then(function (srv) {
|
||||
console.log(srv);
|
||||
a.reply(m, srv);
|
||||
});
|
||||
});
|
||||
|
||||
a.login(process.env["discordEmail"], process.env["discordPass"])["catch"](function (e) {
|
||||
return console.log(e);
|
||||
|
||||
Reference in New Issue
Block a user