Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //const Discord = require('discord.js');
  2. const commando = require('discord.js-commando');
  3. const bot = new commando.Client({ owner: '284591038268571649' });
  4.  
  5. /*
  6. This test code is for the Discord client instead of commando client.
  7. bot.on('message', message => {
  8.     if(message.content == 'Is Ian a weeb?') {
  9.         message.channel.sendMessage('Maybe');
  10.     }
  11. });
  12. */
  13.  
  14. bot.registry
  15.     .registerGroups([
  16.         ['random', 'Random'],
  17.         ['memes', 'Memes']
  18. ]);
  19. bot.registry.registerDefaults();
  20. bot.registry.registerCommandsIn(__dirname + "/commands");
  21.  
  22. bot.login('NTY3NjAzNjM1MzIwNjUxNzg2.XLaiVQ.zJ4SlAH7QDlyKwbLslAT1sDDRYQ');
  23.  
  24. /**
  25.  * This is the link to invite the bot to your server:
  26.  * https://discordapp.com/oauth2/authorize?client_id=567603635320651786&scope=bot&permissions=0
  27.  */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement