Templuzy

Untitled

Feb 2nd, 2021 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require('discord.js')
  2.  
  3. const client = new Discord.Client();
  4.  
  5. const fs = require('fs');
  6.  
  7. client.commands = new Discord.Collection();
  8. client.events = new Discord.Collection();
  9.  
  10.  
  11.  
  12. ['command_handler', 'event_handler'].forEach(handler =>{
  13.     require(`./handlers/${handler}`)(client, Discord);
  14. });
  15.  
  16.  
  17.  
  18. client.login('inrqebb.reUBXXUgihNXO.ueojtbrejkIEXBOXAuBVbxewueXBUBEWGX)');
  19.  
Add Comment
Please, Sign In to add comment