Skip to content

Commit

Permalink
Merge pull request #15 from ADJazzzz/dev
Browse files Browse the repository at this point in the history
1.3.3
  • Loading branch information
ADJazzzz authored Jul 21, 2024
2 parents 3379eca + 0b789a0 commit 6ee3f2c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
18 changes: 12 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
## NEXT_VERSION

## [1.3.3](https://github.com/ADJazzzz/BLSPAM/compare/1.3.2...1.3.3) 2024-07-21

### 修复

- 修复段弹幕无法停止的问题

## [1.3.2](https://github.com/ADJazzzz/BLSPAM/compare/1.3.1...1.3.2) 2024-07-21

### 调整

- 回退更新提示
- 回退更新提示

## [1.3.1](https://github.com/ADJazzzz/BLSPAM/compare/1.3.0...1.3.1) 2024-07-21

### 调整

- 调整更新提示
- 调整更新提示

## [1.3.0](https://github.com/ADJazzzz/BLSPAM/compare/1.2.0...1.3.0) 2024-07-21

### 新增

- 弹幕+1[(#10)](https://github.com/ADJazzzz/BLSPAM/issues/10)
- 弹幕复制[(#11)](https://github.com/ADJazzzz/BLSPAM/issues/11)
- 弹幕+1[(#10)](https://github.com/ADJazzzz/BLSPAM/issues/10)
- 弹幕复制[(#11)](https://github.com/ADJazzzz/BLSPAM/issues/11)

### 调整

- 调整自动检测更新
- 相关细节调整
- 调整自动检测更新
- 相关细节调整

## [1.2.0](https://github.com/ADJazzzz/BLSPAM/compare/1.1.2...1.2.0) 2024-03-23

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bilibili-live-spamer",
"private": true,
"version": "1.3.2",
"version": "1.3.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
11 changes: 7 additions & 4 deletions src/modules/Spamer/textSpamer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ class TextSpamer extends BaseModule {
}

if (msg.length < textinterval) {
const sendMSGShort = setInterval(() => sendMsg(msg), timeinterval)
if (!this.config.enable) {
clearInterval(sendMSGShort)
}
const sendMSGShort = setInterval(async () => {
if (this.config.enable) {
await sendMsg(msg)
} else {
clearInterval(sendMSGShort)
}
}, timeinterval)

if (timelimit !== 0) {
setTimeout(() => {
Expand Down

0 comments on commit 6ee3f2c

Please sign in to comment.