9 |
this.maxJoins = app.config.props[guild.id].raid.max_joins; |
this.maxJoins = app.config.props[guild.id].raid.max_joins; |
10 |
this.included = app.config.props[guild.id].raid.included; |
this.included = app.config.props[guild.id].raid.included; |
11 |
this.time = app.config.props[guild.id].raid.time; |
this.time = app.config.props[guild.id].raid.time; |
12 |
|
this.enabled = app.config.props[guild.id].raid.enabled; |
13 |
} |
} |
14 |
|
|
15 |
async start(member) { |
async start(member) { |
16 |
await this.load(member.guild); |
await this.load(member.guild); |
17 |
|
|
18 |
|
if (!this.enabled) |
19 |
|
return; |
20 |
|
|
21 |
console.log('Joined'); |
console.log('Joined'); |
22 |
|
|
23 |
setTimeout(() => { |
setTimeout(() => { |