diff options
author | Gareth Dunstone <[email protected]> | 2020-01-31 15:27:04 +1100 |
---|---|---|
committer | Gareth Dunstone <[email protected]> | 2020-01-31 15:27:04 +1100 |
commit | 37a180126e3ddd51d3c0c3803c3f506b121df75a (patch) | |
tree | 5c883a14fb25cd97c642ccd6a9dfa3fcc22b224f | |
parent | aa57929d1e9484fb2b4c0a675efae12547ddc8d0 (diff) | |
download | mastodon.py-37a180126e3ddd51d3c0c3803c3f506b121df75a.tar.gz |
added the bot param
-rw-r--r-- | mastodon/Mastodon.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 46a1b56..f28b164 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -2107,7 +2107,7 @@ class Mastodon: | |||
2107 | def account_update_credentials(self, display_name=None, note=None, | 2107 | def account_update_credentials(self, display_name=None, note=None, |
2108 | avatar=None, avatar_mime_type=None, | 2108 | avatar=None, avatar_mime_type=None, |
2109 | header=None, header_mime_type=None, | 2109 | header=None, header_mime_type=None, |
2110 | locked=None, fields=None): | 2110 | locked=None, bot=None, fields=None): |
2111 | """ | 2111 | """ |
2112 | Update the profile for the currently logged-in user. | 2112 | Update the profile for the currently logged-in user. |
2113 | 2113 | ||
@@ -2118,6 +2118,8 @@ class Mastodon: | |||
2118 | 2118 | ||
2119 | 'locked' specifies whether the user needs to manually approve follow requests. | 2119 | 'locked' specifies whether the user needs to manually approve follow requests. |
2120 | 2120 | ||
2121 | 'bot' specifies whether the user should be set to a bot. | ||
2122 | |||
2121 | 'fields' can be a list of up to four name-value pairs (specified as tuples) to | 2123 | 'fields' can be a list of up to four name-value pairs (specified as tuples) to |
2122 | appear as semi-structured information in the users profile. | 2124 | appear as semi-structured information in the users profile. |
2123 | 2125 | ||