mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 07:42:04 +00:00
feat: add cover image support to Discord event create (#60883)
* feat: add image param to Discord event create for cover art * fix: pass trusted media roots to event cover image loader * fix: solve lint error * fix: add changelog entry for Discord event cover image support (#60883) (thanks @bittoby) --------- Co-authored-by: Shadow <hi@shadowing.dev>
This commit is contained in:
parent
d78512b09d
commit
9edf9804b1
9 changed files with 43 additions and 2 deletions
|
|
@ -109,6 +109,7 @@ export function registerMessageDiscordAdminCommands(message: Command, helpers: M
|
|||
.option("--channel-id <id>", "Channel id")
|
||||
.option("--location <text>", "Event location")
|
||||
.option("--event-type <stage|external|voice>", "Event type")
|
||||
.option("--image <url>", "Cover image URL or local file path")
|
||||
.action(async (opts) => {
|
||||
await helpers.runMessageAction("event-create", opts);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue