| … | … | @@ -139,8 +139,9 @@ bogbot.createYaml = async (obj, content) => { |
| 139 | 139 | return await yaml.create(obj, content) |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | bogbot.compose = async (content) => { | |
| 142 | bogbot.compose = async (content, prev) => { | |
| 143 | 143 | const obj = {} |
| 144 | if (prev) { obj = prev } | |
| 144 | 145 | |
| 145 | 146 | const name = await db.get('name') |
| 146 | 147 | const image = await db.get('image') |