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:
BitToby
2026-04-07 13:40:39 -05:00
committed by GitHub
parent d78512b09d
commit 9edf9804b1
9 changed files with 43 additions and 2 deletions

View File

@@ -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);
});