-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbot.js
More file actions
36 lines (30 loc) · 1.22 KB
/
bot.js
File metadata and controls
36 lines (30 loc) · 1.22 KB
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
const Discord = require("discord.js");
const client = new Discord.Client();
const config = require("./config.json");
client.on("ready", () => {
console.log(`Bot foi iniciado. Com ${client.users.size} usuários, em ${client.channels.size} canais e ${client.guilds.size} servidores.`)
})
client.on("message", async message => {
if (message.author.bot) return;
if (message.channel.type === "dm") return;
const args = message.content.slice(config.prefix.length).trim().split(/ +/g);
const comando = args.shift().toLocaleLowerCase();
if (message.author.username === "Boltera") {
const m = await message.channel.send(`Que porra nenhuma, Lee! Vtnc!`);
return;
}
if (message.author.username === "DeathMusic") {
const m = await message.channel.send(`Para com essa mentira, Monstro... PQP!`);
return;
}
if (message.author.username === "Polo") {
const m = await message.channel.send(`David é foda e ainda joga Ragnarok.`);
return;
}
if (message.author.username === "Ryan Six") {
const m = await message.channel.send(`Tá na hora da insulina, Gordo Imundo do krai.`);
return;
}
//console.log(message);
})
client.login(config.token);