Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Dec 25, 2022
1 parent 6cd7981 commit bda30fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ from mipac.client import Client
async def main():
client = Client(url, token)
await client.http.login()
note = await client.action.note.action.send('Hello World')
api = client.api
note = await api.note.action.send('Hello World')
print(note.author.name, note.content)

if __name__ == '__main__':
Expand Down

0 comments on commit bda30fe

Please sign in to comment.