mirror of https://gitlab.com/bashrc2/epicyon
Better logic for determining bot status
parent
cccad2fbda
commit
17c567b989
|
@ -219,10 +219,10 @@ def _get_masto_api_v1account(base_dir: str, nickname: str, domain: str,
|
||||||
if account_json['discoverable'] is False:
|
if account_json['discoverable'] is False:
|
||||||
discoverable = False
|
discoverable = False
|
||||||
group = False
|
group = False
|
||||||
|
bot = False
|
||||||
if account_json['type'] == 'Group':
|
if account_json['type'] == 'Group':
|
||||||
group = True
|
group = True
|
||||||
bot = False
|
elif account_json['type'] != 'Person':
|
||||||
if account_json['type'] == 'Application':
|
|
||||||
bot = True
|
bot = True
|
||||||
no_of_statuses = 0
|
no_of_statuses = 0
|
||||||
no_of_followers = 0
|
no_of_followers = 0
|
||||||
|
|
Loading…
Reference in New Issue