Features on Cipher Hub Discord Community to have interactive introductory session with the User
Only the codes which are not available in the documentation.
- Fetch data from another local JSON file
const fs = require('fs');
let replies = JSON.parse(fs.readFileSync('replies.json'));
- Send DM to new guild member
client.users.get(member.id).send(`Hi ${member.user.username}, ${replies.new_member}`);
- Write member name without '@'
${member.author.username}