-
Notifications
You must be signed in to change notification settings - Fork 4
onLeave
JustCarry edited this page Apr 30, 2018
·
2 revisions
- When member leave!
onLeave
-
(String) channel:
Channel ID
This channel will used for send the message below. -
(String) message:
Content
Bye message.
const Discord = require('discord.js');
const jc = require('jc-codes');
const client = new Discord.Client();
jc.setClient( client ) // Put client
jc.add('onLeave', { message: 'Bye, goodbye [user]', channel: '437170573982957568' });
jc.exec( ); // Exec codes
client.login('token');
Please read here before use