Skip to content

Commit

Permalink
bump up to 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
niwaniwa committed Sep 16, 2024
1 parent a831786 commit 0ec8631
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,28 @@ Misskeyの絵文字登録をDiscord上で申請できるDiscord用Botです!

`/ni_rilana`: このBotに関する情報を表示します

`/change_emoji_detail <property> <value>`: 申請後に申請可否チャンネルにおいて絵文字の属性を変更できます。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)

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.5.1

0 comments on commit 0ec8631

Please sign in to comment.