import { AutomodForm } from '@/components/modules/automod-form'; import { getLocale, t } from '@/lib/i18n'; import { getAutomodDashboard } from '@/lib/module-configs/automod'; interface AutomodPageProps { params: Promise<{ guildId: string }>; } export default async function AutomodPage({ params }: AutomodPageProps) { const { guildId } = await params; const [locale, config] = await Promise.all([getLocale(), getAutomodDashboard(guildId)]); return (
{t(locale, 'modules.automod.description')}