Discord Login
특정 Discord 길드 구성원으로 제한되는 EmDash용 Discord 로그인입니다(역할 지정과 로그인 기록 포함).
플러그인
Discord Login
특정 Discord 길드 구성원으로 제한되는 EmDash용 Discord 로그인입니다(역할 지정과 로그인 기록 포함).
특정 Discord 길드 구성원으로 제한되는 EmDash용 Discord 로그인입니다(역할 지정과 로그인 기록 포함).
설치
npm에서 패키지를 설치합니다.
npm install emdash-auth-discord
Astro 설정에 플러그인을 등록합니다.
import { defineConfig } from "astro/config"
import emdash from "emdash/astro"
import { discord } from "emdash-auth-discord"
export default defineConfig({
integrations: [
emdash({
authProviders: [
discord({
guildId: process.env.DISCORD_GUILD_ID,
defaultRole: 10,
siteTitle: "My Site",
messages: { notGuildMember: "Only members of the My Site Discord server can log in." },
}),
],
}),
],
})
세부 정보
- 최신 버전: 0.1.4
- 라이선스: MIT
- 게시자: leCielEtoile
- 요구 사항: EmDash
>=1.1.0 <2 - 소스 저장소: https://github.com/leCielEtoile/emdash-auth-discord
- npm 패키지: emdash-auth-discord