Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

Commit 60c8596

Browse files
committed
fix: example
1 parent 1ddb4b6 commit 60c8596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/use_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async def on_ready(self, ws):
2121
print("work on my machine")
2222
await Router(ws).connect_channel(["global", "main"]) # globalとmainチャンネルに接続
2323
self.task.start() # タスクを起動する
24-
res = self.client.note.send('hello world')
24+
res = await self.client.note.send('hello world')
2525
print(res.content)
2626
self.task.stop() # タスクを止める
2727

0 commit comments

Comments
 (0)