feat: stardew valley mod lookup
This commit is contained in:
parent
a216412ab6
commit
606e185c1c
2 changed files with 7 additions and 1 deletions
|
@ -88,6 +88,11 @@ async def handle_about_command(message: Message) -> None:
|
|||
response += f"也就大概花了 {minutes} 分 {seconds} 秒..."
|
||||
await about_message.edit_text(response)
|
||||
|
||||
async def handle_nexusmods_id(message: Message) -> None:
|
||||
"""输入n网尾号xxxx之后主动返回星露谷物语的对应mod"""
|
||||
nexusmods_id = message.text.replace(" ","").replace("N网尾号","").replace("n网尾号","")
|
||||
await message.reply(f"https://www.nexusmods.com/stardewvalley/mods/{nexusmods_id}")
|
||||
|
||||
async def dummy_handler(message: Message) -> None:
|
||||
"""A handler to catch all other messages"""
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue