From 202fe46c1e1679dde381e2bb477012790c2c4a85 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Sat, 28 Jun 2025 15:20:39 +0200 Subject: [PATCH] format --- src/content/docs/v4/snippets/command.mdx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/content/docs/v4/snippets/command.mdx b/src/content/docs/v4/snippets/command.mdx index 39fae7227..21e2637d2 100644 --- a/src/content/docs/v4/snippets/command.mdx +++ b/src/content/docs/v4/snippets/command.mdx @@ -12,13 +12,15 @@ import { ApplicationCommandOptionType } from 'discord.js'; export default commandModule({ type: CommandType.Slash, plugins: [], - description: 'look stuff up on google', - options: [{ - name: 'query', - description: 'the query to search for', - type: ApplicationCommandOptionType.String, - required: true, - }], + description: 'Look stuff up on Google', + options: [ + { + name: 'query', + description: 'The query to search for', + type: ApplicationCommandOptionType.String, + required: true, + } + ], execute: async (ctx) => { const query = ctx.options.getString('query', true); const url = `https://google.com/search?q=${encodeURIComponent(query)}`;