mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 09:54:18 +02:00
Compare commits
No commits in common. "9b3908cdc4fa8c855e9fec7bddfc890871177994" and "616334f123539480527a97d3d2c0e04c4d957a9d" have entirely different histories.
9b3908cdc4
...
616334f123
@ -126,12 +126,8 @@ export class FixRolesOnReady extends Listener {
|
||||
);
|
||||
}
|
||||
|
||||
// Checks if the user already has vegan or non-vegan role
|
||||
if (
|
||||
member.roles.cache.has(IDs.roles.vegan.vegan) ||
|
||||
member.roles.cache.has(IDs.roles.nonvegan.nonvegan)
|
||||
) {
|
||||
await this.delay(1000);
|
||||
// Checks if the user is vegan
|
||||
if (member.roles.cache.has(IDs.roles.vegan.vegan)) {
|
||||
count++;
|
||||
continue;
|
||||
}
|
||||
@ -178,7 +174,7 @@ export class FixRolesOnReady extends Listener {
|
||||
);
|
||||
|
||||
// Add a delay so that there's around 4 users processed a second
|
||||
await this.delay(5000);
|
||||
await this.delay(500);
|
||||
}
|
||||
|
||||
// Send the logs that the fix has finished.
|
||||
|
Loading…
x
Reference in New Issue
Block a user