This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
65 lines (53 loc) · 2.53 KB
/
app.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
//const readline = require('readline').createInterface({
// input: process.stdin,
// output: process.stdout
//})
const Discord = require('discord.js');
const client = new Discord.Client();
const { token } = require('./config.json');
client.once('ready', () => {
console.log('cum');
client.user.setActivity('Michael Reeves\'s videos.', { type: 'WATCHING' });
});
client.on('message', message => {
if (message.author.id === client.user.id) return;
if (message.guild === null) {
console.log(`[DM][${message.author.username}]: ${message.content}`);
} else {
console.log(`[${message.guild}][#${message.channel.name}][${message.author.username}]: ${message.content}`);
}
if (message.content.toLowerCase().includes(`i could`) || message.content.toLowerCase().includes(`i can`) || message.content.toLowerCase().includes(`i would`)) {
message.channel.send("", { files: ["videos/dumbass.mp4"] });
} else if (message.content.toLowerCase().includes(`cum`)) {
message.channel.send("Carriage Utility Mechanism", { files: ["videos/cum.mp4"] });
} else if (message.content.toLowerCase().includes(`facial detection`)) {
message.channel.send("Nah, I prefer Racial Detection.", { files: ["videos/demonetized.mp4"] });
} else if (message.content.toLowerCase().includes(`nightmare`)) {
message.channel.send("Nightmare Nightmare Nightmare Nightmare Nightmare Nightmare Nightmare Nightmare-", { files: ["videos/nightmare.mp4"] });
} else if (message.content.toLowerCase().startsWith(`when will impulse be done with his schoolwork`)) {
message.channel.send("At the last fucking minute because he wastes his goddamn time.")
}
/* if (message.content === `${prefix}ping`) {
message.channel.send('Pong.');
} else if (message.content === `!robotics`) {
message.channel.send('https://www.youtube.com/watch?v=QksAVT0YMEo')
} else if (message.content === `I could build that.`) {
message.channel.send(`no`)
message.channel.send(`you`)
message.channel.send(`can`)
message.channel.send(`not`)
message.channel.send(`dumbass`)
} else if (message.content === `I could code that.`) {
message.channel.send(`no`)
message.channel.send(`you`)
message.channel.send(`can`)
message.channel.send(`not`)
message.channel.send(`dumbass`)
} else if (message.content === `!roboticsscript`) {
message.channel.send(`You: !robotics\nMe: <https://www.youtube.com/watch?v=QksAVT0YMEo>\nYou: I could build that.\nMe: no\nyou\ncan\nnot\ndumbass`)
} */
});
//readline.question(`>`, command => {
// message.send(client, `${command}`, 793213491984597002)
//})
client.login(token);