-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQwertyBot.js
89 lines (89 loc) · 3.43 KB
/
QwertyBot.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
const Discord = require("discord.js");
const client = new Discord.client({
intents: ["GUILDS", "GUILD_MESSAGES", "DIRECT_MESSAGE_TYPING"],
partials: ['MESSAGE', 'CHANNEL', 'REACTION']
});
const chalk = require('chalk');
const dotenv = require('dotenv');
const faq = "<#>";
const { prefix, ownerid } = require('config.json');
dotenv.config();
client.on('ready', () => {
console.log(chalk.greenBright('[SUCCESS]'), 'QwertyBot is now initilized!');
});
client.login(process.env.token);
client.on('messageCreate', message) => {
if (message.author.bot) return;
// People Stuffs
/*if (message.content.toLowerCase().include('how')) {
message.reply(faq);
console.log(message.author.username + " --> how");
}
if (message.content.toLowerCase().include('help')) {
message.reply(faq);
console.log(message.author.username + " --> help");
}*/
if (message.content.toLowerCase().include('crash')) {
message.reply('skill issue');
console.log(message.author.username + " --> crash");
}
if (message.content.toLowerCase().include('dead chat')) {
message.reply('then make it alive');
console.log(message.author.username + " --> dead chat");
}
if (message.content.toLowerCase().include('uwu')) {
message.reply('no ur gay');
console.log(message.author.username + " --> uwu");
}
if (message.content.toLowerCase().include('owo')) {
message.reply('no ur gay');
console.log(message.author.username + " --> owo");
}
if (message.content.toLowerCase.include('cock and balls')) {
message.reply('my cock and balls are rotating');
console.log(message.author.username + " --> cock and balls");
}
if (message.content.toLowerCase().include('retarded')) {
message.reply('no ur retard');
console.log(message.author.username + " --> retarded");
}
if (message.content.toLowerCase().include('dickweed')) {
message.reply('u suck at ur dick')
console.log(message.author.username + " --> dickweed");
}
if (message.content.toLowerCase().include('grammar')) {
message.reply('english issue');
console.log(message.author.username + " --> grammar");
}
if (message.content.toLowerCase().include('pedo')) {
message.reply('no ur pedo kid')
console.log(message.author.username + " --> pedo");
}
if (message.content.toLowerCase().include('??')) {
message.reply('no ur bozo');
console.log(message.author.username + " --> ??");
}
if (message.content.toLowerCase().include('bozo')) {
message.reply('no ur bozo');
console.log(message.author.username + " --> bozo");
}
if (message.content.toLowerCase().include(':clown:')) {
message.reply('no ur bozo');
console.log(message.author.username + " --> :clown:");
}
if (message.content.toLowerCase().include(':middle_finger:')) {
message.reply('fuck ur ass');
console.log(message.author.username + " --> :middle_finger:");
}
if (message.content.toLowerCase().include("<@" + ownerid + ">")) {
message.reply('ping ur self');
console.log(message.author.username + " --> ping to owner");
}
if (!message.content.toLowerCase().startsWith(prefix)) return;
switch(prefix + message.content.toLowerCase()) {
default:
message.reply('Unknown Command. Sorry!')
break;
// todo
}
}