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.

fix permission warnings

Luna 1611f462 2177272d

+6 -6
+1 -1
app/dashboard/[guildId]/greeting/welcome/page.tsx
··· 170 170 name="Pings" 171 171 url={`/guilds/${guild?.id}/modules/welcome`} 172 172 dataName="pingIds" 173 - items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => { return { name: `#${c.name}`, value: c.id, error: c.missingPermissions.filter((mp) => mp !== "EmbedLinks").join(", ") }; })} 173 + items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id, error: c.missingPermissions.filter((mp) => mp !== "EmbedLinks").join(", ") }))} 174 174 description="Select in what channels user should get ghostpinged." 175 175 defaultState={welcome?.pingIds || []} 176 176 max={5}
+2 -2
app/dashboard/[guildId]/nsfw-image-scanning/page.tsx
··· 84 84 name="Logging channel" 85 85 url={url} 86 86 dataName="logChannelId" 87 - items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => { return { name: `#${c.name}`, value: c.id, error: c.missingPermissions.join(", ") }; })} 87 + items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id, error: c.missingPermissions.join(", ") }))} 88 88 description="Select the channel where the logs should be send into." 89 89 defaultState={data.logChannelId} 90 90 disabled={!data.enabled} ··· 128 128 name="Whitelist channels" 129 129 url={url} 130 130 dataName="whitelistChannelIds" 131 - items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id, error: c.missingPermissions.join(", ") }))} 131 + items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id }))} 132 132 description="Select channels where images should not be scanned in." 133 133 defaultState={data.whitelistChannelIds} 134 134 disabled={!data.enabled}
+3 -3
app/dashboard/[guildId]/page.tsx
··· 99 99 name="Chat to Speech channel" 100 100 url={`/guilds/${params.guildId}`} 101 101 dataName="channelId" 102 - items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id }))} 102 + items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id, error: c.missingPermissions.filter((mp) => mp === "ViewChannel").join(", ") }))} 103 103 description="Select a channel what channel should be used for tts." 104 104 defaultState={guild?.tts.channelId} 105 105 showClear ··· 108 108 name="Usage logs" 109 109 url={`/guilds/${params.guildId}`} 110 110 dataName="logChannelId" 111 - items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id }))} 112 - description="Select a channel where usage logs should be psoted into." 111 + items={guild?.channels?.sort((a, b) => a.name.localeCompare(b.name)).map((c) => ({ name: `#${c.name}`, value: c.id, error: c.missingPermissions.join(", ") }))} 112 + description="Select a channel where usage logs should be posted into." 113 113 defaultState={guild?.tts.logChannelId} 114 114 showClear 115 115 />