122 |
122 |
123 for _, plugin in ipairs(config.plugins or {}) do |
123 for _, plugin in ipairs(config.plugins or {}) do |
124 b:add_plugin(plugin); |
124 b:add_plugin(plugin); |
125 end |
125 end |
126 |
126 |
|
127 for _, plugin in ipairs(config.stream_plugins or {}) do |
|
128 c:add_plugin(plugin); |
|
129 end |
|
130 |
127 b:hook("started", function () |
131 b:hook("started", function () |
128 local presence = verse.presence() |
132 local presence = verse.presence() |
129 if b.caps then |
133 if b.caps then |
130 presence:add_child(b:caps()) |
134 presence:add_child(b:caps()) |
131 end |
135 end |