Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/woodneck/siamese
:cat2: Korean discord bot Siamese
https://github.com/woodneck/siamese
discord discord-bot discord-js korean
Last synced: 3 months ago
JSON representation
:cat2: Korean discord bot Siamese
- Host: GitHub
- URL: https://github.com/woodneck/siamese
- Owner: WoodNeck
- License: mit
- Created: 2018-10-02T01:53:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T13:16:06.000Z (10 months ago)
- Last Synced: 2024-10-06T12:02:57.860Z (4 months ago)
- Topics: discord, discord-bot, discord-js, korean
- Language: TypeScript
- Homepage: https://woodneck.github.io/siamese/
- Size: 19.5 MB
- Stars: 11
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 샴고양이(Siamese)
[Invite Bot](https://discordapp.com/oauth2/authorize?client_id=357073005819723777&scope=bot&permissions=-1)
Korean Discord bot for multiple purpose.
# Prerequisites
- [Node.js](https://nodejs.org/ko/download/package-manager/) 16.10+
- Tested with Node v16.10.0
- [MongoDB](https://www.mongodb.com/)
- Tested with MongoDB v4.2.12# Installing
## Linux - ubuntu
Tested on Amazon EC2 Ubuntu 20.4
```sh
sudo apt install make
sudo apt install build-essential
npm i
```
Before run, please fill out the `bot.env` file using `bot.env.preset`.
```sh
# BOT
BOT_TOKEN="YOUR_BOT_TOKEN" # Bot token, see https://discord.com/developers/applications
BOT_DEFAULT_PREFIX="샴 " # Bot's prefix
BOT_ICON_PREFIX="~" # Prefix for icon feature# BOT_OPTIONAL
BOT_DEV_SERVER_INVITE="https://discord.gg/DMbYYFr" # (Optional) Bot dev server's invite link
BOT_DEV_USER_ID=012345678901234567 # (Optional) Bot developer's Discord ID (Integer), this will allow that user to execute specific dev commands
BOT_DEV_SERVER_ID=012345678901234567 # (Optional) Bot dev server's ID
BOT_LOG_VERBOSE_CHANNEL=012345678901234567 # (Optional) Bot dev server's channel ID to receive bot's verbose messages
BOT_LOG_ERROR_CHANNEL=012345678901234567 # (Optional) Bot dev server's channel ID to receive bot's error messages
BOT_BUG_REPORT_CHANNEL=012345678901234567 # (Optional) Bot dev server's channel ID to receive bug reports
BOT_FEATURE_REQUEST_CHANNEL=012345678901234567 # (Optional) Bot dev server's channel ID to receive feature requests
BOT_GITHUB_URL="https://github.com/WoodNeck/siamese" # (Optional) Github URL# APIS
GOOGLE_API_KEY="SOME_KEY_STRING" # (Optional) API key that can be retrieved from https://console.cloud.google.com/apis/credentials. Required for Google & Youtube related commands
GOOGLE_SEARCH_ENGINE_ID="SOME_KEY_STRING" # (Optional) ID that can be retrieved from https://cse.google.com/all. Required for Google & Youtube related commands## Naver
NAVER_ID="SOME_KEY_STRING" # (Optional) ID that can be retrieved from https://developers.naver.com/apps/#/list. Required for Naver-related commands
NAVER_SECRET="SOME_KEY_STRING" # (Optional) Key that can be retrieved from https://developers.naver.com/apps/#/list. Required for Naver-related commands## Steam
STEAM_API_KEY="SOME_KEY_STRING" # (Optional) Key that can be retrived from https://steamcommunity.com/dev/apikey. Required for Steam-related commands
```Also, you have to set env variable `GOOGLE_APPLICATION_CREDENTIALS` to use command tts, which uses Google Cloud Text-to-Speech API
```sh
export GOOGLE_APPLICATION_CREDENTIALS="[PATH_TO_YOUR_JSON]"
```Check [GCP Docs](https://cloud.google.com/text-to-speech/docs/quickstart-client-libraries#client-libraries-install-nodejs) for further information.
Then, run with `npm run start` at project root folder.
## CREDITS
- Riichi Mahjong tiles are used in form of Discord emoji, made with images from [riichi-mahjong-tiles](https://github.com/FluffyStuff/riichi-mahjong-tiles)
- [Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)