mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
按钮
This commit is contained in:
parent
772bdcf3ee
commit
fc484728c6
@ -1,5 +1,6 @@
|
||||
import { User } from './index.js'
|
||||
import { Version } from '#miao'
|
||||
import { Button } from '#miao.models'
|
||||
|
||||
export default class MysApi {
|
||||
constructor (e, uid, mysInfo) {
|
||||
@ -71,7 +72,7 @@ export default class MysApi {
|
||||
if (uid) {
|
||||
return new User({ id: e.user_id, uid })
|
||||
} else {
|
||||
e.reply('请先发送【#绑定+你的UID】来绑定查询目标\n星铁请使用【#星铁绑定+UID】')
|
||||
e.reply(['请先发送【#绑定+你的UID】来绑定查询目标\n星铁请使用【#星铁绑定+UID】', new Button(e).bindUid()])
|
||||
e._replyNeedUid = true
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user