diff --git a/CHANGELOG.md b/CHANGELOG.md index 634eecf..109cb0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +## [1.5.1] - 2024-09-16 +### Fixed +- fix: reset state when an error occurs during emoji application.[`#110`](https://github.com/niri-la/MisskeyEmojiBot/pull/110) +- fix: convert full-width spaces to half-width spaces when setting tags.[`#108`](https://github.com/niri-la/MisskeyEmojiBot/pull/108) + ## [1.5.0] - 2024-08-25 ### Added - add: version information to the /ni_rilana command, allowing users to easily check the current version within the command output.[`#99`](https://github.com/niri-la/MisskeyEmojiBot/pull/99) diff --git a/README.md b/README.md index 1a75783..0d7f904 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,28 @@ Misskeyの絵文字登録をDiscord上で申請できるDiscord用Botです! `/ni_rilana`: このBotに関する情報を表示します +`/change_emoji_detail `: 申請後に申請可否チャンネルにおいて絵文字の属性を変更できます。propertyには任意の属性を指定し、valueにはその属性に合う値を入力してください。(NSFWについては現状設定できません。) + 今後も機能を追加予定です! +## 使用方法 +1. docker imageまたはgit cloneにてリポジトリをローカル環境へ。 +- docker環境の方はdocker-compose.yaml及びDockerfileを参照ください。 +- ローカルの場合、`go run ./cmd/`で実行できます + +2. settings.env内の設定値を埋めてください +- `guild_id`: DiscordのサーバーID +- `bot_token`: BotのToken(事前にDiscordアプリケーションを作成してください。) +- `application_id`: BotのアプリケーションID +- `moderator_role_id`: 絵文字申請処理を行うサーバー内ロールID。絵文字申請の可否をモデレーターのロール数で制御する際に判定します。 +- `bot_role_id`: 絵文字Bot用ロールID +- `moderation_channel_name`: 絵文字が申請された際に内容が送信されるチャンネル名。重複する場合そのチャンネルに設定されます。 +- `misskey_token`: 絵文字アップロードに利用します。絵文字を操作する都合上、MisskeyのTokenは必要な権限が付与されていることを確認してください。 +- `save_path`: 絵文字が申請された際に画像を保存するパス +- `debug`: デバッグ表示を行うか。(Discord上には反映されません。) + + ## 使用ライブラリ - [go-misskey](https://github.com/niwaniwa/go-misskey) diff --git a/version.txt b/version.txt index 3e1ad72..8e03717 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.5.0 \ No newline at end of file +1.5.1 \ No newline at end of file