Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //const Discord = require('discord.js');
- const commando = require('discord.js-commando');
- const bot = new commando.Client({ owner: '284591038268571649' });
- /*
- This test code is for the Discord client instead of commando client.
- bot.on('message', message => {
- if(message.content == 'Is Ian a weeb?') {
- message.channel.sendMessage('Maybe');
- }
- });
- */
- bot.registry
- .registerGroups([
- ['random', 'Random'],
- ['memes', 'Memes']
- ]);
- bot.registry.registerDefaults();
- bot.registry.registerCommandsIn(__dirname + "/commands");
- bot.login('NTY3NjAzNjM1MzIwNjUxNzg2.XLaiVQ.zJ4SlAH7QDlyKwbLslAT1sDDRYQ');
- /**
- * This is the link to invite the bot to your server:
- * https://discordapp.com/oauth2/authorize?client_id=567603635320651786&scope=bot&permissions=0
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement