feat: update clydeAI check
This commit is contained in:
parent
ee3f9d12e2
commit
7ef1cd60e5
@ -590,15 +590,14 @@ class Guild extends AnonymousGuild {
|
|||||||
*/
|
*/
|
||||||
get clydeSupport() {
|
get clydeSupport() {
|
||||||
// **BETA** - This feature is currently in beta and may be changed or removed at any time.
|
// **BETA** - This feature is currently in beta and may be changed or removed at any time.
|
||||||
// Cannot be enabled on guilds with more than 100 members
|
if (this.features.includes('COMMUNITY')) return false;
|
||||||
if (
|
if (
|
||||||
v3(`2023-03_clyde_ai:${this.id}`) % 10e3 > 100 ||
|
(this.memberCount < 101 && v3(`2023-03_clyde_ai:${this.id}`) % 10e3 < 1200) ||
|
||||||
this.memberCount > 100 ||
|
(this.memberCount < 201 && v3(`2023-03_clyde_ai:${this.id}`) % 10e3 < 1000)
|
||||||
this.features.includes('COMMUNITY')
|
|
||||||
) {
|
) {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user