diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-12-22 21:52:15 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-12-22 21:52:15 -0500 |
| commit | ece4522984563cff4589aa6eb46e7ace9205907a (patch) | |
| tree | 453c1335a7486e68cc319cc3f1d80062faf784e7 | |
| parent | 484f03ebb89cf2209311bbcbedd05f70ef3cb19a (diff) | |
| download | AleeBot-ece4522984563cff4589aa6eb46e7ace9205907a.tar.gz AleeBot-ece4522984563cff4589aa6eb46e7ace9205907a.tar.bz2 AleeBot-ece4522984563cff4589aa6eb46e7ace9205907a.zip | |
Added created at for user
| -rw-r--r-- | bot_discord.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot_discord.js b/bot_discord.js index bff692b..fdce670 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -285,6 +285,8 @@ client.on('guildMemberAdd', (member) => { .addField('Username: ', `${member.displayName}`, true) .addField('User ID: ', `${member.id}`, true) .addField('Joined At: ', `${member.joinedAt.toUTCString()}`) + .addField('Created At: ', `${member.user.createdAt.toUTCString()}`) + //.addField('Invite Code: ', `${member.invite.code}`) .setColor('#4bff31') .setTimestamp(); |
