Emit a simple string notification to topic "custom"
(plugin)
| 19 | |
| 20 | @plugin.method("faulty-emit") |
| 21 | def faulty_emit(plugin): |
| 22 | """Emit a simple string notification to topic "custom" |
| 23 | """ |
| 24 | plugin.notify("ididntannouncethis", {'message': "Hello world"}) |
| 25 | |
| 26 | |
| 27 | @plugin.subscribe("pay_success") |