-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
72 lines (58 loc) · 1.94 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
const Discord = require("discord.js")
require("dotenv").config()
const TOKEN = "OTI4OTU4MjQwNzgyNDQyNTQ4.YdgVxw.SVFOo_2eSCQnhtkgcsGW83wvmEs"
const client = new Discord.Client({
intents: [
"GUILDS",
"GUILD_MESSAGES"
]
})
client.on("ready", () => {
console.log('Logged in as ${client.user.tag}')
})
client.on("messageCreate", (message) => {
if (message.content == '!BotHelp') {
message.reply("Do !Help and then add a number at the end of it for commands.")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!WhatAreYou') {
message.reply("An idiot sandwich")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!Peter') {
message.reply("Wow annoying")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!CodeList') {
message.reply("1:Image Code 2:Sounds/Music Code !Amogus:What?")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!Help1') {
message.reply("Image Locate Code: !CodeImage")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!Help2') {
message.reply("Sound/Music Locate Code: !PlaySound")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!PlaySound') {
message.reply("Image Locate Code: Paths.sound code bracket and then the file name with that doubleupper thingy")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!CodeImage') {
message.reply("Image Locate Code: Paths.image code bracket and then the file name with that doubleupper thingy")
}
})
client.on("messageCreate", (message) => {
if (message.content == '!Amogus') {
message.reply("fuck you >:(")
}
})
client.login(process.env.TOKEN)