Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Raid Guard: Set option to ignore user age #204

Open
nenkoszai opened this issue May 27, 2021 · 4 comments
Open

Request: Raid Guard: Set option to ignore user age #204

nenkoszai opened this issue May 27, 2021 · 4 comments

Comments

@nenkoszai
Copy link

Raid guard does it function well when it is against new accounts. However there are other type of raids that can occur. In my server example, a troll decided to mass spam many servers telling them to ping random users in my server and in return they get a nitro.
So we receive mass join but the thing is that these users are account ranging 2-4 years so this raid guard wouldnt be very effective if at all.

My suggestion would be to add optional feature to allow raid guard to log user in database irregardless of the account age, as long as theres mass join within a specific period, the raid guard should activate.

@EsenDR
Copy link
Contributor

EsenDR commented May 30, 2021

For now, you could simply change the $age variable to how many every years you want in minutes.

@nenkoszai
Copy link
Author

theres limit on that afaik. isnt the value stored in integer ?

@lemm-e
Copy link

lemm-e commented May 31, 2021

@nenkoszai you won't hit the limit in most cases. 5 years in minutes would be 2629800, which is well within the limits.

@nenkoszai
Copy link
Author

There seems to be an error since the yag code update

app_1 | level=warning p=notifications msg="Failed parsing/executing join server msg template" stck="notifications.sendTemplate:plugin_bot.go:148" error="Failed executing template: template: :23:17: executing "" at <$newmem>: wrong type for value; expected int64; got *discordgo.User" guild=369798142289510401

@l-zeuch l-zeuch changed the title request: Raid Guard Request: Raid Guard: Set option to ignore user age Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants