From cf098877c3332302259c66e85e0188ee0c65a544 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Thu, 10 Nov 2022 20:36:37 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9C=A8=E9=B1=BC=E9=9F=B3=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/qqbot/models/Commands/WoodenFish.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/yutou/qqbot/models/Commands/WoodenFish.java b/src/main/java/com/yutou/qqbot/models/Commands/WoodenFish.java index a600c48..8115891 100644 --- a/src/main/java/com/yutou/qqbot/models/Commands/WoodenFish.java +++ b/src/main/java/com/yutou/qqbot/models/Commands/WoodenFish.java @@ -36,7 +36,7 @@ public class WoodenFish extends Model { public void onMessage(Long qq, MessageEvent event, boolean isGroup) { super.onMessage(qq, event, isGroup); if(msg.contains("地狱笑话")){ - File file=new File("muyu.wav"); + File file=new File("muyu.mp3"); if(file.exists()) { OfflineAudio audio = Objects.requireNonNull(event.getBot().getGroup(qq)).uploadAudio(ExternalResource.create(file)); MessageChainBuilder builder = new MessageChainBuilder();