Advertisement
Guest User

Untitled

a guest
Aug 14th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. const botConfig = require("./botconfig.json");
  2. const Discord = require("discord.js");
  3.  
  4. const client = new Discord.Client()
  5.  
  6. client.on("ready", async () => {
  7. console.log("");
  8. console.log(client.user.username + " est present ay")
  9. console.log("Token : " + botConfig.token);
  10. console.log("Prefix : " + botConfig.prefix);
  11.  
  12. });
  13.  
  14. client.on("message", message => {
  15. if (message.content === botConfig.prefix + "music") {
  16. };
  17. });
  18.  
  19. client.login(botConfig.token);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement