Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Eris = require("eris");
- const fs = require("fs");
- const TOKEN = "put your token here";
- const CHANNEL = "put the channel where the autofarm will happen."
- var bot = new Eris(TOKEN);
- var times = 0;
- setInterval(() => {
- bot.createMessage(CHANNEL, "pls beg");
- if(times === 5) {
- bot.createMessage(CHANNEL, "pls dep all");
- times = 0;
- } else times++;
- }, 46000)
- console.log("Bot is done loading!");
- bot.connect();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement