Skip to content

A C99 Discord bot for Korean learning servers. / ‘새롬’은 한국어 학습 서버들을 위해 만들어진, C언어 (C99)로 작성된 디스코드 봇입니다.

License

Notifications You must be signed in to change notification settings

jdeokkim/saerom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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