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

bug fixes

shi.gg bba80839 95ea6633

verified
Changed files
+4 -5
app
dashboard
[guildId]
passport
[guildId]
components
utils
+1 -1
app/dashboard/[guildId]/page.tsx
··· 18 18 const params = useParams(); 19 19 20 20 return (<> 21 - {(guild!.flags & GuildFlags.PrivateLeaderboard) !== 0 && ( 21 + {(guild!.flags & GuildFlags.PrivateLeaderboard) === 0 && ( 22 22 <OverviewLink 23 23 title="View Leaderboard" 24 24 message="Easily access and view the top chatters, voice timers, and inviters from this server in the web."
+1 -1
app/passport/[guildId]/page.tsx
··· 179 179 /> 180 180 </div> 181 181 182 - {guildExists && (guild.flags & GuildFlags.PrivateLeaderboard) !== 0 && ( 182 + {guildExists && (guild.flags & GuildFlags.PrivateLeaderboard) === 0 && ( 183 183 <OverviewLink 184 184 title="View Leaderboard" 185 185 message="Easily access and view the top chatters, voice timers, and inviters from this server in the web."
-1
components/discord/message-file.tsx
··· 1 1 import { Fira_Code } from "next/font/google"; 2 - import React from "react"; 3 2 import { BsFillPlayFill } from "react-icons/bs"; 4 3 import { HiVolumeUp } from "react-icons/hi"; 5 4
+2 -2
utils/input.ts
··· 51 51 "Content-Type": "application/json" 52 52 }, 53 53 body: JSON.stringify(options.k.includes(".") 54 - ? { [options.k.split(".")[0]]: { [options.k.split(".")[1]]: options.transform?.(val) || val } } 55 - : { [options.k]: options.transform?.(val) || val } 54 + ? { [options.k.split(".")[0]]: { [options.k.split(".")[1]]: options.transform?.(val) ?? val } } 55 + : { [options.k]: options.transform?.(val) ?? val } 56 56 ) 57 57 }) 58 58 .catch((error) => String(error));