blob: 9977709b77352c20df0b099e876ff2baa9f6ed75 [file] [log] [blame]
pineafan32767212022-03-14 21:27:39 +00001const {addLog} = require('../scripts/addLogs');
2
3module.exports = {
4 name:'guildScheduledEventUserRemove',
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 leftEventAt: Date.now()
16 }
17 }
18 addLog(event.guild.id, data);
19 }
20}