blob: caadd25d336ca6b405db936e0a675d22022a50fd [file] [log] [blame]
pineafan32767212022-03-14 21:27:39 +00001const {addLog} = require('../scripts/addLogs');
2
3module.exports = {
4 name:'guildScheduledEventUserAdd',
5 once:false,
6 async execute(event, member) {
7 let data = {
8 event: {
9 id: event.id,
10 name: event.name,
11 },
12 user: {
13 id: member.id,
14 username: member.username,
15 joinedEventAt: Date.now()
16 }
17 }
18 addLog(event.guild.id, data);
19 }
20}