import { NextPage, NextPageContext } from 'next' import { useRouter } from 'next/router' import dynamic from 'next/dynamic' import Link from 'next/link' import { Form, Formik } from 'formik' import { get } from '@utils/Query' import { parseCookie, redirectTo } from '@utils/Tools' import { AddBotSubmitSchema } from '@utils/Yup' import { categories, library } from '@utils/Constants' import { User } from '@types' const CheckBox = dynamic(() => import('@components/Form/CheckBox')) const Label = dynamic(() => import('@components/Form/Label')) const Input = dynamic(() => import('@components/Form/Input')) const Divider = dynamic(() => import('@components/Divider')) const TextArea = dynamic(() => import('@components/Form/TextArea')) const Segment = dynamic(() => import('@components/Segment')) const Markdown = dynamic(() => import('@components/Markdown')) const Select = dynamic(() => import('@components/Form/Select')) const Selects = dynamic(() => import('@components/Form/Selects')) const Button = dynamic(() => import('@components/Button')) const Container = dynamic(() => import('@components/Container')) const Message = dynamic(() => import('@components/Message')) const SEO = dynamic(() => import('@components/SEO')) const AddBot:NextPage = ({ logged, user }) => { const router = useRouter() function toLogin() { localStorage.redirectTo = window.location.href redirectTo(router, 'login') } if(!logged) { toLogin() return } return

새로운 봇 추가하기

안녕하세요, {user.tag}님! 본인이 아니신가요?
{ alert(JSON.stringify(values)) }}> {({ errors, touched, values, setFieldTouched, setFieldValue }) => (

신청하시기 전에 다음 사항을 확인해 주세요!

  • 디스코드 서버에 참가하셨나요?
  • 봇이 가이드라인을 지키고 있나요?
  • 봇 소유자가 두 명 이상인가요? 봇 소유자는 봇이 승인된 뒤, 더 추가하실 수 있습니다.
  • 본인이 봇의 소유자라는 것을 증명할 수 있나요? 본인이 봇 소유자임을 증명하려면, 태그가 포함되어야 합니다.
  • 다음 명령어(접두사로 시작하는) 중 하나 이상에 소유자를 표시하셔야 합니다.
    • - 도움 명령어: 도움, 도움말, 명령어, help, commands
    • - 도움 명령어에 소유자임을 나타내고 싶지 않으시다면, 아래 명령어를 만들어주세요
      명령어: [접두사]hellothisisverification 응답: 유저#태그(아이디)
  • 또한, 봇을 등록하게 되면 작성하신 모든 정보는 웹과 API에 공개됩니다.