-
Notifications
You must be signed in to change notification settings - Fork 4
Exec
JustCarry edited this page Apr 30, 2018
·
3 revisions
- To execute everything you've added in.
const Discord = require('discord.js');
const jc = require('jc-codes');
const client = new Discord.Client();
jc.setClient( client ) // Put client
jc.add('onJoin', { message: 'Welcome there, [user] have joined to our server', channel: 'channel-id', role: 'role-id' } )
jc.exec( ); // Exec codes
client.login('token');
Please read here before use