fixes and init bin
Release rolling / release (push) Successful in 12m7s

This commit is contained in:
Raven Scott
2026-08-13 14:39:09 -04:00
parent 879ad78bed
commit 6434ac957a
20 changed files with 1521 additions and 16 deletions
@@ -709,6 +709,8 @@ function discordCmdReplyPayload(result) {
if (result && result.text) payload.content = discordCmdClip(result.text)
if (!payload.content && !payload.embeds) payload.content = '(no output)'
if (result && result.ephemeral) payload.flags = BARE_OS_DISCORD_FLAG_EPHEMERAL
delete payload.fetchReply
delete payload.ephemeral
return payload
}
@@ -5183,9 +5185,9 @@ async function discordSendResult(ctx, interaction, result) {
} else if (interaction.deferred && typeof interaction.editReply === 'function') {
sent = await interaction.editReply(payload)
} else if (interaction.replied && typeof interaction.followUp === 'function') {
sent = await interaction.followUp(Object.assign({ fetchReply: true }, payload))
sent = await interaction.followUp(payload)
} else {
sent = await interaction.reply(Object.assign({ fetchReply: true }, payload))
sent = await interaction.reply(payload)
}
} catch (err) {
if (ctx && ctx.console && typeof ctx.console.error === 'function') {