-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBlockUserOptions.py
24 lines (16 loc) · 1.12 KB
/
BlockUserOptions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class BlockUserOptions:
def __init__(self):
self.dryrun = True
'''If true runs on test mode.'''
self.check_firendship = False
'''If true checks whether the follower is following accounts listed on the env. variable: restricted_accounts and blocks if applicable. '''
self.min_restricted_words_qty = 1
'''Minimum quantity of words from the env. variable: not_desired_words either found either in the name or account description to block a user. '''
self.min_restricted_accounts_qty = 1
'''Minimum quantity of restricted accounts from the env. variable: restricted_accounts that a follower follows to block a user. '''
self.min_tweets_from_user = 0
'''If your follower has no Tweets than she or he will be blocked.'''
self.min_favourites_count = 0
'''You can define the min quantity of like an account gave as parameter to block it.'''
self.min_qty_digits_on_screen_name = 5
'''Bot accounts name usually ends with digits. You can define how many digits found in an account name as a parameter to block an user.'''