-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.js
79 lines (21 loc) · 1.28 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
require("dotenv").config();
const GuardianClient = require("./core/client.js");
const client = new GuardianClient();
var approx = require('approximate-number');
client.login(process.env.BOT_TOKEN);
client.on('ready', function() {
client.user.setActivity(`${client.users.cache.size} users | ;;help`, {type: "STREAMING", url: "https://www.twitch.tv/flight23white"})
// client.user.setActivity("Ck is on top", {type: "STREAMING", url: "https://www.twitch.tv/flight23white"})
// client.user.setActivity("Prefix (;;)", {type: "STREAMING", url: "https://www.twitch.tv/flight23white"})
// client.user.setActivity(`${approx(client.guilds.size)} Guilds | ;;help`, {type: "STREAMING", url: "https://www.twitch.tv/flight23white"})
console.log('ANTIWIZZ ready');
console.log('ANTIWIZZ ON');
});
const Discord = require('discord.js')
const { RichEmbed } = require('discord.js')
client.on('guildMemberAdd', async member => {
if (member.user.bot) {
// (member.ban("Suspicous Bot Detected, Not Acceptable."));
(console.log(`Blacklisted bot has been banned, ${member.user.tag}!`));
}
});