Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const botSettings = require("./botsettings.json");
- const Discord = require("discord.js");
- const bot = new Discord.Client({disableEveryone: true});
- const memsy = ['./1.png', './2.jpg', './3.jpg', './4.jpg'];
- const Hentaice = ['./a.jpg', './b.jpg', './c.jpg', './d.jpg', './e.jpg', './f.gif'];
- const path = ("./m/");
- bot.on("ready", async () => {
- console.log("Bot is ready! "+bot.user.username);
- try {
- link = await bot.generateInvite(["ADMINISTRATOR"]);
- console.log(link);
- }catch(e) {
- console.log(e.stack);
- }
- });
- bot.on("message", async message => {
- if(message.author.bot) return;
- if(message.channel.type === "dm") return;
- messageArray = message.content.split(" ");
- command = messageArray[0];
- args = messageArray.slice(1);
- if(!command.startsWith(botSettings.prefix)) return;
- if(command === botSettings.prefix+`AAA`) {
- message.channel.send("Kutas kozła");
- }
- if(command === botSettings.prefix+`Pedau`) {
- message.channel.send("Jeb sie kurwo :upside_down:");
- }
- if(command === botSettings.prefix+`Jajamnieswedza`) {
- message.channel.send("To sie podrap :cherries: ");
- }
- if(command === botSettings.prefix+`cipka`) {
- message.channel.send(new Discord.Attachment("./Kutas.jpg", "Kutas.jpg"));
- }
- if(command === botSettings.prefix+`kurczaki`) {
- message.channel.send("Ziemniaki");
- }
- if(command === botSettings.prefix+`ziemniaki`) {
- message.channel.send("Kurczaki");
- }
- if(command === botSettings.prefix+`chuj`) {
- message.channel.send("Nie klnij kurwo");
- }
- if(command === botSettings.prefix+`love`) {
- message.channel.send(new Discord.Attachment("./love.gif", "love.gif"));
- }
- if(command === botSettings.prefix+`meme`) {
- message.channel.send(`Łap!`);
- message.channel.send(new Discord.Attachment(memsy[Math.floor(Math.random() * memsy.length)]));
- }
- if(command === botSettings.prefix+`zawod?`) {
- message.channel.send("Andwonkant");
- }
- if(command === botSettings.prefix+`hentai`) {
- message.channel.send("Pervert!");
- message.channel.send(new Discord.Attachment(Hentaice[Math.floor(Math.random() * Hentaice.length)]));
- }
- if(command === botSettings.prefix+`zdj`) {
- message.channel.send(new Discord.Attachment(path[Math.floor(Math.random() * path.length)]));
- }
- });
- bot.login(botSettings.token);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement