Skip to content

Commit

Permalink
1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
idranme committed Aug 3, 2024
1 parent 4b280e0 commit 849ce4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi-plugin-waifu",
"description": "Marry with your groupmate",
"version": "1.7.1",
"version": "1.7.2",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export function apply(ctx: Context, cfg: Config) {
user: selected.user
})
const reply = await targetSession.prompt(session => {
return h.select(session.elements, 'text').join('')
return h.select(session.elements, 'text').join('').trim()
}, { timeout: 90 * Time.second })

if (reply === '我愿意') {
Expand Down

0 comments on commit 849ce4c

Please sign in to comment.