Skip to content

Latest commit

 

History

History
95 lines (65 loc) · 2.66 KB

README.md

File metadata and controls

95 lines (65 loc) · 2.66 KB

saerom

version badge code-size badge license badge codefactor badge

A C99 Discord bot for Korean learning servers.

Commands

Name Description
/info Show information about this bot
/krd Search the given text in the dictionaries ("Basic Korean Dictionary" and "Urimalsaem") published by the National Institute of Korean Language
/ppg Translate the given text between two languages using NAVER™ Papago NMT API

Screenshots

/info

Screenshot /info

/krd

Screenshot /krd

/ppg

Screenshot /ppg

Prerequisites

  • GCC version 9.4.0+
  • GNU Make version 4.1+
  • CMake version 3.10.0+
  • Git version 2.17.1+
  • libcurl4 version 7.58.0+ (with OpenSSL flavor)
$ sudo apt install build-essential cmake git libcurl4-openssl-dev

Building

This project uses GNU Make as the build system.

  1. Install the latest version of Cogmasters/concord.
$ git clone https://github.com/Cogmasters/concord && cd concord
$ git checkout dev && make -j`nproc`
$ sudo make install
  1. Then, install the latest version of boundary/sigar.
$ git clone https://github.com/boundary/sigar && cd sigar 
$ mkdir build && cd build
$ cmake .. && make -j`nproc`
$ sudo make install
$ ldconfig
  1. Build this project with the following commands.
$ git clone https://github.com/jdeokkim/saerom && cd saerom
$ make
  1. Configure and run the bot.
$ vim res/config.json
$ ./bin/saerom

License

GNU General Public License, version 3