init.lua

changeset 74
65be10a5db6d
parent 28
d0d1d88ec0ef
child 95
6b3ee06d5837
equal deleted inserted replaced
73:b9d319376f6d 74:65be10a5db6d
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

mercurial