style: oxfmt format

This commit is contained in:
Peter Steinberger
2026-01-17 05:48:34 +00:00
parent 8b42902cee
commit e59d8c5436
47 changed files with 152 additions and 165 deletions

View File

@@ -40,9 +40,7 @@ export function registerMessageDiscordAdminCommands(message: Command, helpers: M
const channel = message.command("channel").description("Channel actions");
helpers
.withMessageBase(
helpers.withRequiredMessageTarget(
channel.command("info").description("Fetch channel info"),
),
helpers.withRequiredMessageTarget(channel.command("info").description("Fetch channel info")),
)
.action(async (opts) => {
await helpers.runMessageAction("channel-info", opts);

View File

@@ -21,7 +21,9 @@ export function registerMessagePinCommands(message: Command, helpers: MessageCli
}),
helpers
.withMessageBase(
helpers.withRequiredMessageTarget(message.command("pins").description("List pinned messages")),
helpers.withRequiredMessageTarget(
message.command("pins").description("List pinned messages"),
),
)
.option("--limit <n>", "Result limit")
.action(async (opts) => {

View File

@@ -7,7 +7,9 @@ export function registerMessageReadEditDeleteCommands(
) {
helpers
.withMessageBase(
helpers.withRequiredMessageTarget(message.command("read").description("Read recent messages")),
helpers.withRequiredMessageTarget(
message.command("read").description("Read recent messages"),
),
)
.option("--limit <n>", "Result limit")
.option("--before <id>", "Read/search before id")