Skip to content

kss-pc-club/discord-bot

Repository files navigation

discord-bot

discord-bot とは?

KSS PC Club Discord サーバー用の bot です。

開発方法

  1. Create a new Discord application from the Discord Developer Portal.
  2. Create a bot and generate a token.
  3. Create .env file with the following content:
    TOKEN=<YOUR TOKEN HERE>
    SERVER_ID=<GUILD ID HERE>
    FIREBASE_PROJECT_ID=<FIREBASE PROJECT ID HERE>
    FIREBASE_CLIENT_EMAIL=<FIREBASE CLIENT EMAIL HERE>
    FIREBASE_REALTIME_DB_URL=<FIREBASE RDB URL HERE>
    FIREBASE_PRIVATE_KEY=<FIREBASE TOKEN HERE>
    
  4. Install dependencies
    yarn install --frozen-lockfile
    
  5. Compile
    yarn compile
    
  6. Start the bot
    yarn start
    

必要環境

SECURITY.md を見てください

行動規範

CODE_OF_CONDUCT.md を見てください

貢献したい方

CONTRIBUTING.md を見てください

LICENSE

MIT License. LICENSE file for more information.