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

added automod #47

Closed
wants to merge 11 commits into from
Closed

added automod #47

wants to merge 11 commits into from

Conversation

TheMoksej
Copy link
Collaborator

Currently this has anti invite and anti spam. I don't know what you want me to add next to that.

I've tested multiple times, it is working, so if it breaks, blame yourself not me, I repeat - blame yourself.

This adds stuff that I'll need later on. I'm not going to make a pr with this because:
1. It's not finished.
2. I need to do proper testing before adding code to here
@TheMoksej TheMoksej self-assigned this Oct 24, 2020
@TheMoksej TheMoksej linked an issue Oct 24, 2020 that may be closed by this pull request
@TheMoksej
Copy link
Collaborator Author

I've also added status.py file, so you wouldn't need to make one yourself haha

@TheMoksej
Copy link
Collaborator Author

Oh and yes, this doesn't have the check to see if member is trying to evade the mute be rejoining the server, but that's fairly simple to add, however, you'll need to use cache for that. If anything is missing from automod side, just lmk and I'll add that in, although I don't think we talked about anything else. Have fun.

~ Mok

@TheMoksej
Copy link
Collaborator Author

TheMoksej commented Oct 24, 2020

I forgot to add whitelisted invites into the list, please give me a day or two so I could fix that issue. I'll draft this pr whilst adding whitelisted invites feature (I'll try to not hardcode them)

@TheMoksej TheMoksej marked this pull request as draft October 24, 2020 22:45
@TheMoksej TheMoksej marked this pull request as ready for review October 25, 2020 17:16
@TheMoksej
Copy link
Collaborator Author

Alright, should be good to go. I've tested once again, it does work, however if user spams the whitelisted invites with random invites, it might take a few seconds to delete because of the loops, but that shouldn't be problem because:

  1. there's anti spam
  2. They can send a maximum of 5 invites in 60 seconds, so they shouldn't be able to spam too much

@advaith1 advaith1 added the low priority Issue/PR is low priority. label Oct 26, 2020
@TheMoksej TheMoksej marked this pull request as draft January 8, 2021 11:43
@TheMoksej
Copy link
Collaborator Author

TheMoksej commented Jan 8, 2021

Marking this as draft until I re-do everything.

@carolinaisslaying
Copy link
Member

Marking this as draft until I re-do everything.

tell me when you finish on this and i'll implement etc

@TheMoksej
Copy link
Collaborator Author

Same with this one. Will be introducing this in the rewrite.

@TheMoksej TheMoksej closed this Jun 1, 2021
@TheMoksej TheMoksej deleted the TheMoksej-automod branch June 1, 2021 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Issue/PR is low priority.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

automod
3 participants