Git Product home page Git Product logo

baekjoon-discord-bot's Introduction

Baekjoon-Bot

스크린샷 2023-08-01 오후 10 52 22

A discord bot for baekjoon users to improve PS skill

  • Personalized Recommendation of BOJ problems by analyzing PS skiils in Baekjoon
  • Daily notification with a single personalized BOJ problem
  • Improve your weakness by recommending problems
  • Register BOJ ID for getting recommendation

🚀 Getting Started

🤖 Adding the bot to your server

Click the link below and grant permissions for the bot to join your server (require additional server to add bot):

Add bot to your server

💻 Running the server locally

Clone this repository and run:

git clone https://github.com/boaz-baekjoon/baekjoon-discord-bot.git
npm install
  • Make your application in the discord developer site
  • Create .env and fill the value with your discord bot token, and AWS RDS info
DISCORD_TOKEN=
RDS_ENDPOINT=
RDS_USER=
RDS_PASSWORD=
RDS_DB=
BASE_URL=   #You need to create your own model server and put its address
  • Type npm test to test the connection with your RDS
  • Type npm start to start the bot

📦 Using Docker

For those who prefer using Docker container, follow the instruction:

  • Create .env file and fill the value explained above.
  • Build an image and run a container.
  • Make sure to set the timezone in order to properly send daily problem.
docker build -t <image name> .
docker run -d <image name> -e TZ=<your time zone>

baekjoon-discord-bot's People

Contributors

synoti21 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.