Skip to content

Commit

Permalink
Fix: GSUIDCore适配器的makeButton参数错误
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Zero-L authored and TimeRainStarSky committed Jun 14, 2024
1 parent bacf0bd commit 34da41e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/adapter/GSUIDCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Bot.adapter.push(new class GSUIDCoreAdapter {
return Bot.String(msg).replace(/base64:\/\/.*?"/g, "base64://...\"")
}

makeButton(data, button) {
makeButton(button) {
const msg = {
text: button.text,
pressed_text: button.clicked_text,
Expand Down Expand Up @@ -301,4 +301,4 @@ Bot.adapter.push(new class GSUIDCoreAdapter {
ws.on("message", data => this.message(data, ws, ...args))
)
}
})
})

0 comments on commit 34da41e

Please sign in to comment.