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.

new restrict access tts video

Luna da57af8a cbdafd39

+33 -31
+3 -3
app/dashboard/[guildId]/greeting/welcome/page.tsx
··· 113 113 /> 114 114 115 115 <Switch 116 - name="Delete welcome message after leave" 116 + label="Delete welcome message after leave" 117 117 description="This only takes affect if the user joined less than 24h ago." 118 - url={`/guilds/${guild?.id}/modules/welcome`} 119 - dataName="deleteAfterLeave" 118 + endpoint={`/guilds/${guild?.id}/modules/welcome`} 119 + k="deleteAfterLeave" 120 120 defaultState={welcome?.deleteAfterLeave || false} 121 121 disabled={!welcome.enabled} 122 122 />
+30 -28
components/tts-faq.tsx
··· 1 1 import { Accordion, AccordionItem } from "@nextui-org/react"; 2 + import Link from "next/link"; 2 3 import { useCookies } from "next-client-cookies"; 3 - import Image from "next/image"; 4 - import Link from "next/link"; 5 4 import { HiExternalLink } from "react-icons/hi"; 6 5 7 6 import { Button } from "./ui/button"; ··· 30 29 allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" 31 30 /> 32 31 33 - <Button 34 - asChild 35 - className="my-2" 36 - size="sm" 37 - > 38 - <Link 39 - className="flex items-center" 40 - href="/docs/text-to-speech" 41 - target="_blank" 42 - > 43 - Read the documentation 44 - <HiExternalLink /> 45 - </Link> 46 - </Button> 32 + <DocumentationLink /> 47 33 </AccordionItem> 48 34 <AccordionItem 49 35 key="2" ··· 52 38 > 53 39 Blacklist a user using discord channel permissions. 54 40 55 - <Link 56 - href="https://cdn.waya.one/r/YcU2CC.gif" 57 - target="_blank" 58 - > 59 - <Image 60 - alt="blacklist a user with discord channel permissions" 61 - className="mt-4 rounded-md" 62 - height={945 / 2} 63 - src="https://cdn.waya.one/r/YcU2CC.gif" 64 - width={1040 / 2} 65 - /> 66 - </Link> 41 + <iframe 42 + className="mt-4 aspect-video rounded-lg" 43 + width="100%" 44 + src="https://www.youtube.com/embed/KLXm2vdH0ro?si=FyxofeytRb-LAOE6" 45 + title="Wamellow restrict Text to Speech access" 46 + allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" 47 + /> 48 + 49 + <DocumentationLink /> 67 50 </AccordionItem> 68 51 </Accordion> 52 + ); 53 + } 54 + 55 + function DocumentationLink() { 56 + return ( 57 + <Button 58 + asChild 59 + className="my-2" 60 + size="sm" 61 + > 62 + <Link 63 + className="flex items-center" 64 + href="/docs/text-to-speech" 65 + target="_blank" 66 + > 67 + Read the documentation 68 + <HiExternalLink /> 69 + </Link> 70 + </Button> 69 71 ); 70 72 }