No description
This repository has been archived on 2026-04-12. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • JavaScript 85.5%
  • Pug 14.1%
  • Sass 0.4%
Find a file
2020-06-29 12:12:00 +09:00
.idea init 2020-06-11 16:17:39 +09:00
bin init 2020-06-11 16:17:39 +09:00
discord update 2020-06-11 19:01:24 +09:00
public/stylesheets init 2020-06-11 16:17:39 +09:00
routes init 2020-06-11 16:17:39 +09:00
utils init 2020-06-11 16:17:39 +09:00
views update redirect ui 2020-06-11 19:17:48 +09:00
.env.example Update .env.example 2020-06-11 16:26:18 +09:00
.gitignore init 2020-06-11 16:17:39 +09:00
app.js init 2020-06-11 16:17:39 +09:00
constants.js init 2020-06-11 16:17:39 +09:00
LICENSE Initial commit 2020-06-11 16:17:15 +09:00
package-lock.json init 2020-06-11 16:17:39 +09:00
package.json init 2020-06-11 16:17:39 +09:00
pnpm-lock.yaml init 2020-06-11 16:17:39 +09:00
README.md Update README.md 2020-06-27 16:18:53 +09:00
yarn.lock init 2020-06-11 16:17:39 +09:00

PSCORD

설치 방법

nodejs 설치

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
nvm install 12

패키지 설치

npm install --global yarn
yarn install

설정 파일 작성

BOT_TOKEN - 봇 토큰

COMMAND_PREFIX - 명령어 접두사

HOST - 웹사이트 호스트

PORT - 웹사이트 포트

SESSION_KEY = 웹사이트 세션 시크릿

OAUTH2_CLIENT_ID - 디스코드 클라이언트 ID

OAUTH2_CLIENT_SECRET - 디스코드 클라이언트 시크릿

OAUTH_REDIRECT_URI - 디스코드 OAUTH2 리다이렉트 URI

봇 실행

프로덕션 - yarn start
개발 - yarn dev