Parent Directory
|
Revision Log
|
Patch
revision 147 by rakin, Mon Jul 29 17:28:46 2024 UTC | revision 243 by rakin, Mon Jul 29 17:29:11 2024 UTC | |
---|---|---|
# | Line 35 export default class AntiRaid { | Line 35 export default class AntiRaid { |
35 | ||
36 | this.joins++; | this.joins++; |
37 | ||
38 | if (this.joins >= this.maxJoins) { | if (this.joins === this.maxJoins) { |
39 | await this.trigger(member.guild); | await this.trigger(member.guild); |
40 | } | } |
41 | } | } |
# | Line 56 export default class AntiRaid { | Line 56 export default class AntiRaid { |
56 | return cond && channel.type === 'GUILD_TEXT'; | return cond && channel.type === 'GUILD_TEXT'; |
57 | }); | }); |
58 | ||
59 | await lockAll(this.client, role, channels, true); | await lockAll(this.client, role, channels, this.client.user!, true); |
60 | } | } |
61 | }; | }; |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |