OverviewFilesCommitsIssuesDocsReleasesPeers

apds commits / 939a542

if an obj is passed to compose then add that to message obj
939a542594365952c50a423e762ad70c03a9b918
by Ev Bogue <ev@evbogue.com> · 2025-01-06T22:32:22.000Z

Changed files (1) +2 -1

bogbot.js +2 -1
……@@ -139,8 +139,9 @@ bogbot.createYaml = async (obj, content) => {
139139 return await yaml.create(obj, content)
140140}
141141
142bogbot.compose = async (content) => {
142bogbot.compose = async (content, prev) => {
143143 const obj = {}
144 if (prev) { obj = prev }
144145
145146 const name = await db.get('name')
146147 const image = await db.get('image')