Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Countermeasures against being closed without using the "クローズする" button #96

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

Mogyuchi
Copy link
Contributor

@Mogyuchi Mogyuchi commented Mar 9, 2024

解決すること

  • 投稿が再オープンされた後5分以内に「クローズする」ボタン以外の手段でクローズされると、5分経過後メッセージを編集できずエラー終了する

「〇〇がスレッドを再開しました。」の掲示理由は「オープンになっている投稿の状況を把握できるようにするためであり、ロギング目的ではない」と解釈した故、
5分経過時にクローズしてあるのならば再開メッセージを消すようにした。

Copy link
Member

@InkoHX InkoHX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@InkoHX InkoHX merged commit 7e5c746 into discordjs-japan:main Mar 9, 2024
2 checks passed
@Mogyuchi Mogyuchi deleted the reopen-notify branch March 10, 2024 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants