Skip to content

Commit 13d886b

Browse files
committed
update PokeReply bugs
1 parent 912350e commit 13d886b

4 files changed

Lines changed: 24 additions & 24 deletions

File tree

.idea/workspace.xml

Lines changed: 17 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/phantoms/phantomsbackend/service/impl/OneBotServiceImpl.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,14 @@ private void handlePokeReply(Long userId, Long targetId, Long groupId) {
179179
// 如果被戳的是机器人自己
180180
if (targetId != null && isBotUserId(targetId)) {
181181
String[] replies = {
182+
//一些文案(不能包含‘戳’字)
182183
"> <",
183-
"袜"
184+
"袜",
185+
"你干嘛",
186+
"嗯?",
187+
"哎呀,被发现了",
188+
"我还以为没人理我呢",
189+
"痒痒的"
184190
};
185191
String reply = replies[(int) (Math.random() * replies.length)];
186192

target/surefire-reports/2025-09-30T17-02-07_379.dumpstream

Lines changed: 0 additions & 5 deletions
This file was deleted.

target/surefire-reports/2025-09-30T17-02-33_907.dumpstream

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)