aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicah <[email protected]>2022-11-25 21:47:54 +0000
committermicah <[email protected]>2022-11-25 21:47:54 +0000
commit2b8c5de03fb81704aac7639539354783f5a5e3c1 (patch)
tree8958d0c150cd50a0419a46e2fc77826c91a36516
parentdd23f8b7c5e46989b2a73b21816c59bbbd34ef35 (diff)
downloadmastodon.py-2b8c5de03fb81704aac7639539354783f5a5e3c1.tar.gz
typos lol
-rw-r--r--mastodon/Mastodon.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index befb030..c519a0d 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -3376,8 +3376,8 @@ class Mastodon:
3376 if id is not None: 3376 if id is not None:
3377 return self.__api_request('GET', '/api/v1/admin/domain_blocks/{0}'.format(id)) 3377 return self.__api_request('GET', '/api/v1/admin/domain_blocks/{0}'.format(id))
3378 else: 3378 else:
3379 params = params = self.__generate_params(locals(),['limit']) 3379 params = self.__generate_params(locals(),['limit'])
3380 return self.__api_request('GET', '/api/v1/admin/domain_blocks/') 3380 return self.__api_request('GET', '/api/v1/admin/domain_blocks/', params)
3381 3381
3382 @api_version("4.0.0","4.0.0","4.0.0") 3382 @api_version("4.0.0","4.0.0","4.0.0")
3383 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): 3383 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:
3413 Valid severities are: 3413 Valid severities are:
3414 * "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. 3414 * "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.
3415 * "suspend" - deny interactions with this instance going forward. This action is reversible. 3415 * "suspend" - deny interactions with this instance going forward. This action is reversible.
3416 * "limit" - generally used with reject_media=true to force reject media from an instance without silencing or suspending.. 3416 * "limit" - generally used with reject_media=true to force reject media from an instance without silencing or suspending.
3417 3417
3418 If no action is specified, the domain is only silenced. 3418 If no action is specified, the domain is only silenced.
3419 `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. 3419 `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.
Powered by cgit v1.2.3 (git 2.41.0)