The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: custom slash tag commands

Luna c8148bd0 084b5a3b

+7 -1
+3
app/dashboard/[guildId]/custom-commands/create.component.tsx
··· 2 2 3 3 import DumbTextInput from "@/components/inputs/dumb-text-input"; 4 4 import Modal from "@/components/modal"; 5 + import Notice from "@/components/notice"; 5 6 import { Button } from "@/components/ui/button"; 6 7 import type { ApiV1GuildsModulesTagsGetResponse } from "@/typings"; 7 8 import { useState } from "react"; ··· 64 65 }} 65 66 isDisabled={!name} 66 67 > 68 + <Notice message="Start the name with a '/' to create a slash command" /> 69 + 67 70 <DumbTextInput 68 71 name="Name" 69 72 placeholder="new-tag"
+1
app/dashboard/[guildId]/custom-commands/page.tsx
··· 178 178 description="The name of the custom command." 179 179 defaultState={tag.name} 180 180 resetState={tag.name} 181 + disabled={Boolean(tag.applicationCommandId)} 181 182 onSave={(value) => editTag("name", value)} 182 183 /> 183 184 </div>
+3 -1
public/docs/custom-commands.md
··· 5 5 2. Head to the dashboard by going to [wamellow.com/dashboard](https://wamellow.com/dashboard?to=custom-commands). 6 6 3. Select your server from the dashboard. 7 7 4. Navigate to the **Custom Commands** tab. 8 - 5. Click **Create** and enter a name for that command. 8 + 5. Click **Create** and enter a name* for that command. 9 9 7. Click **Submit** and done! 10 + 11 + *The name must be unique and must only contain letters, numbers, underscores, or hyphens. If a name is prefixed with a slash (`/`), wamellow will create a slash command. 10 12 11 13 ### ✏️ Custom message & embed 12 14 You can create a tag with a **fully customizable message and embed for free**, making it easy to design custom messages and commands.