Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf authored Mar 18, 2024
1 parent 17855ae commit 8e11bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ncmusic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
ncmusic = module('ncmusic',
developers=['bugungu', 'DoroWolf'],
desc='{ncmusic.help.desc}',
options_desc={'-l': '{help.option.l}'},
support_languages=['zh_cn'])


@ncmusic.handle('search [-l] <keyword> {{ncmusic.help.search}}')
@ncmusic.handle('search [-l] <keyword> {{ncmusic.help.search}}',
options_desc={'-l': '{help.option.l}'})
async def search(msg: Bot.MessageSession, keyword: str):
url = f"https://ncmusic.akari-bot.top/search?keywords={keyword}"
result = await get_url(url, 200, fmt='json')
Expand Down

0 comments on commit 8e11bb5

Please sign in to comment.