mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-23 05:10:53 +00:00
b8b446f9bf
other refactors
19 lines
351 B
Markdown
19 lines
351 B
Markdown
## About
|
|
|
|
Registers a list of callback functions to hook into OBS events.
|
|
|
|
## Use
|
|
|
|
Simply run the code and trigger the events, press `<Enter>` to exit.
|
|
|
|
This example assumes the existence of a `config.toml`, placed next to `__main__.py`:
|
|
|
|
```toml
|
|
[connection]
|
|
host = "localhost"
|
|
port = 4455
|
|
password = "mystrongpass"
|
|
```
|
|
|
|
Closing OBS ends the script.
|