调整插件名称

This commit is contained in:
liuwei
2025-03-19 15:13:54 +08:00
parent 6a1df97095
commit d5b71ff5bd
7 changed files with 41 additions and 41 deletions

View File

@@ -93,7 +93,7 @@ class MusicPlugin(MessagePluginInterface):
# 检查命令格式
if len(content.split(" ")) == 1:
wcf.send_text(f"-----Bot-----\n❌命令格式错误!\n{self.command_format}",
wcf.send_text(f"❌命令格式错误!\n{self.command_format}",
(roomid if roomid else sender), sender)
return True, "命令格式错误"
@@ -108,7 +108,7 @@ class MusicPlugin(MessagePluginInterface):
# 搜索歌曲
song_info = self._search_song(user_song_name)
if not song_info or not song_info.get("play_url"):
wcf.send_text(f"-----Bot-----\n❌未找到歌曲:{user_song_name}",
wcf.send_text(f"❌未找到歌曲:{user_song_name}",
(roomid if roomid else sender), sender)
return True, "未找到歌曲"