mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-16 11:41:08 +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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user