typos lol

This commit is contained in:
micah 2022-11-25 21:47:54 +00:00
parent dd23f8b7c5
commit 2b8c5de03f

View File

@ -3376,8 +3376,8 @@ class Mastodon:
if id is not None: if id is not None:
return self.__api_request('GET', '/api/v1/admin/domain_blocks/{0}'.format(id)) return self.__api_request('GET', '/api/v1/admin/domain_blocks/{0}'.format(id))
else: else:
params = params = self.__generate_params(locals(),['limit']) params = self.__generate_params(locals(),['limit'])
return self.__api_request('GET', '/api/v1/admin/domain_blocks/') return self.__api_request('GET', '/api/v1/admin/domain_blocks/', params)
@api_version("4.0.0","4.0.0","4.0.0") @api_version("4.0.0","4.0.0","4.0.0")
def admin_domain_block(self, domain:str, severity:str=None, reject_media:bool=None, reject_reports:bool=None, private_comment:str=None, public_comment:str=None, obfuscate:bool=None): def admin_domain_block(self, domain:str, severity:str=None, reject_media:bool=None, reject_reports:bool=None, private_comment:str=None, public_comment:str=None, obfuscate:bool=None):
@ -3413,7 +3413,7 @@ class Mastodon:
Valid severities are: Valid severities are:
* "silence" - hide all posts from federated timelines and do not show notifications to local users from the remote instance's users unless they are following the remote user. * "silence" - hide all posts from federated timelines and do not show notifications to local users from the remote instance's users unless they are following the remote user.
* "suspend" - deny interactions with this instance going forward. This action is reversible. * "suspend" - deny interactions with this instance going forward. This action is reversible.
* "limit" - generally used with reject_media=true to force reject media from an instance without silencing or suspending.. * "limit" - generally used with reject_media=true to force reject media from an instance without silencing or suspending.
If no action is specified, the domain is only silenced. If no action is specified, the domain is only silenced.
`domain` is the domain to block. Note that using the top level domain will also imapct all subdomains. ie, example.com will also impact subdomain.example.com. `domain` is the domain to block. Note that using the top level domain will also imapct all subdomains. ie, example.com will also impact subdomain.example.com.