test(Discord) Added test logs to discord and start of discord chat bot

This commit is contained in:
2022-04-28 12:56:49 -04:00
parent 156339786c
commit b65dae0884
25 changed files with 6277 additions and 181 deletions
+5
View File
@@ -0,0 +1,5 @@
module.exports = (client, member) => {
member.send(
`Welcome on the server! Please be aware that we won't tolerate troll, spam or harassment. Have fun 😀`
);
};
+7
View File
@@ -0,0 +1,7 @@
const kick = require("../commands/kick");
module.exports = (client, message) => {
if (message.content.startsWith("!kick")) {
return kick(message);
}
};
+3
View File
@@ -0,0 +1,3 @@
module.exports = client => {
console.log(`Logged in as ${client.user.tag}!`);
};