mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2024-11-23 07:40:49 +00:00
reword
This commit is contained in:
parent
466f34f6a5
commit
e0a55e8cd9
@ -70,13 +70,13 @@ The following keyword arguments may be passed:
|
||||
|
||||
### Attributes
|
||||
|
||||
For event messages you may inspect the available attributes using `attrs()`.
|
||||
For event data you may inspect the available attributes using `attrs()`.
|
||||
|
||||
example:
|
||||
|
||||
```python
|
||||
def on_twitch_event(event, msg):
|
||||
print(f"{event}: {msg.attrs()}")
|
||||
def on_twitch_event(event, data):
|
||||
print(f"{event}: {data.attrs()}")
|
||||
```
|
||||
|
||||
### Errors
|
||||
|
Loading…
Reference in New Issue
Block a user