gamodu62100

main.js

Mar 20th, 2023
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const discord = require('discord.js')
  2. const intents = new discord.IntentsBitField(3276799)
  3. const bot = new discord.Client({intents});
  4. const loadCommands = require('./Loaders/loadCommands')
  5. const LoadEvents = require('./Loaders/loadEvents')
  6. const config = require('./config');
  7.  
  8. bot.commands = new discord.Collection()
  9.  
  10. bot.login(config.token)
  11. loadCommands(bot)
  12. LoadEvents(bot)
Add Comment
Please, Sign In to add comment