Advertisement
dfhfjjfgjfsfeedgf

Untitled

Jan 11th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. const Discord = require("discord.js");
  2. const Config = require("./config.json");
  3. const Token = require("./token.json");
  4. const fs = require("fs");
  5.  
  6. const bot = new Discord.Client({disableEveryone: true});
  7.  
  8.  
  9.  
  10. bot.on("ready", async () =>{
  11. console.log(`${bot.user.username} PLUS ULTRA! ${bot.guilds.size} servers!`);
  12. bot.user.setActivity("In development....", {type: "PLAYING"});
  13. })
  14.  
  15.  
  16. bot.on("message", async message => {
  17. if(message.author.bot) return;
  18. if(message.channel.type === "dm") return;
  19.  
  20. message.channel.send(`${message.author} , Have no fear I am here! and I'm working`);
  21.  
  22. })
  23.  
  24. bot.login(Token.token);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement