调整插件名称
This commit is contained in:
@@ -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, "未找到歌曲"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user