···4747 title: "How do I set up Chat to Speech (TTS)?",
4848 content: (
4949 <div>
5050-5150 <ol className="list-decimal list-inside marker:text-neutral-500 mb-4">
5251 <li>
5352 <LinkTag href="/login?invite=true">Invite Wamellow</LinkTag> to your Server. If you do not own it, ask the server Administrators to add Wamellow.
···7271 You can also watch the video tutorial below or <LinkTag href="https://youtu.be/NS5fZ1ltovE?si=8hE1o6BBELxAxJbH">watch it on YouTube</LinkTag>.
7372 <iframe
7473 className="mt-2 aspect-video rounded-lg"
7575- width={"100%"}
7474+ width="100%"
7675 src="https://www.youtube.com/embed/NS5fZ1ltovE?si=uODiGspuNGKPRQKp"
7776 title="Wamellow Text to Speech tutorial"
7877 allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"
···8584 title: "How do I disable a command for roles or channels?",
8685 content: (
8786 <div>
8888- If you want to disable a command, essentially making that no member of your server can use the command but Server Administrators, you can do so within discord{"'"}s integration settings as shown in the video.
8787+ <ol className="list-decimal list-inside marker:text-neutral-500 mb-4">
8888+ <li>
8989+ In the Discord App, click on your servers' name and click {'"'}Settings{'"'}
9090+ </li>
9191+ <li>
9292+ Then go to the tab {'"'}Integrations{'"'} in the {'"'}Apps{'"'} category.
9393+ </li>
9494+ <li>
9595+ In the {'"'}Bots and Apps{'"'} list, find Wamellow and click on {'"'}Manage{'"'}.
9696+ </li>
9797+ <li>
9898+ You can choose to disable commands for everyone by their roles, or only in certain channels.
9999+ </li>
100100+ <li>
101101+ <span className="font-semibold">Done!</span> 🎉
102102+ </li>
103103+ </ol>
104104+105105+ You can also watch the video tutorial below or <LinkTag href="https://youtu.be/ehc0_whydu8?si=8hE1o6BBELxAxJbH">watch it on YouTube</LinkTag>.
89106 <iframe
9090- className="mt-6 aspect-video rounded-lg"
107107+ className="mt-2 aspect-video rounded-lg"
91108 width="100%"
9292- src="https://c.lunish.nl/r/vkTh6Q.mp4"
9393- title="How to disable commands for roles or channels"
9494- allow="autoplay; picture-in-picture; web-share"
109109+ src="https://www.youtube.com/embed/ehc0_whydu8?si=uODiGspuNGKPRQKp"
110110+ title="How to disable slash commands from bots and apps in discord"
111111+ allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"
95112 />
96113 </div>
97114 )
+10-15
app/[pathname]/page.tsx
···1010export default async function Home({ params }: Props) {
11111212 switch (params.pathname) {
1313- case "support":
1414- return redirect("https://discord.com/invite/DNyyA2HFM9");
1515- case "vote":
1616- return redirect("https://top.gg/bot/1125449347451068437/vote" + utm);
1717- case "wumpus":
1818- return redirect("https://wumpus.store/bot/1125449347451068437" + utm);
1313+ case "support": return redirect("https://discord.com/invite/DNyyA2HFM9");
1414+ case "vote": return redirect("https://top.gg/bot/1125449347451068437/vote" + utm);
1515+ case "wumpus": return redirect("https://wumpus.store/bot/1125449347451068437" + utm);
1916 case "invite":
2017 case "add":
2121- case "get":
2222- return redirect("/login?invite=true");
2323- case "logout":
2424- return redirect("/login?logout=true");
1818+ case "get": return redirect("/login?invite=true");
1919+ case "logout": return redirect("/login?logout=true");
2020+ case "docs":
2121+ case "guides": return redirect("/docs/index");
2222+ case "ai": return redirect("/ai-gallery");
2323+ case "tts": return redirect("https://youtube.com/watch?v=NS5fZ1ltovE");
2424+ case "disable-commands": return redirect("https://youtube.com/watch?v=ehc0_whydu8");
2525 case "youtube": {
2626 const res = await fetch("http://100.65.0.1:5001/?channel_id=UClWBeVcz5LUmcCN1gHG_GCg", fetchOptions)
2727 .then((res) => res.json())
···29293030 return redirect(res?.videoUrl || "https://www.youtube.com/channel/UClWBeVcz5LUmcCN1gHG_GCg");
3131 }
3232- case "docs":
3333- case "guides":
3434- return redirect("/docs/index");
3535- case "ai":
3636- return redirect("/ai-gallery");
3732 }
38333934 notFound();