Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require("discord.js");
- const Config = require("./config.json");
- const Token = require("./token.json");
- const fs = require("fs");
- const bot = new Discord.Client({disableEveryone: true});
- bot.on("ready", async () =>{
- console.log(`${bot.user.username} PLUS ULTRA! ${bot.guilds.size} servers!`);
- bot.user.setActivity("In development....", {type: "PLAYING"});
- })
- bot.on("message", async message => {
- if(message.author.bot) return;
- if(message.channel.type === "dm") return;
- message.channel.send(`${message.author} , Have no fear I am here! and I'm working`);
- })
- bot.login(Token.token);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement