changeset 26 | fc83934f9b8d |
parent 24 | 25552b21d3fb |
child 27 | 92b254b64360 |
25:38c68c285e41 | 26:fc83934f9b8d |
---|---|
273 local data = { } |
273 local data = { } |
274 local mood, text = args[1], args[2] |
274 local mood, text = args[1], args[2] |
275 if text then |
275 if text then |
276 data.text = { text } |
276 data.text = { text } |
277 end |
277 end |
278 if mood ~= '' then |
278 if mood then |
279 data[mood] = { } |
279 data[mood] = { } |
280 end |
280 end |
281 pep_publish ( 'mood', data ) |
281 pep_publish ( 'mood', data ) |
282 end ) |
282 end ) |
283 main.command ( 'activity', |
283 main.command ( 'activity', |