forked from x/icebergs
add some
This commit is contained in:
parent
768bca93b1
commit
8d1374149c
@ -140,9 +140,11 @@ func init() {
|
|||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
}, web.ApiAction(), mdb.ImportantHashAction(mdb.SHORT, mdb.NAME, mdb.FIELD, "time,type,name,help,icons,order,link,space,index,args")), Hand: func(m *ice.Message, arg ...string) {
|
}, web.ApiAction(), mdb.ImportantHashAction(mdb.SHORT, mdb.NAME, mdb.FIELD, "time,type,name,help,icons,order,link,space,index,args")), Hand: func(m *ice.Message, arg ...string) {
|
||||||
if m.Option(ice.MSG_USERNAME) == "" && m.Option("code") == "" && mdb.Config(m, "oauth") != "" {
|
if kit.Contains(m.Option(ice.MSG_USERUA), "MicroMessenger") {
|
||||||
m.ProcessOpen(mdb.Config(m, "oauth"))
|
if m.Option(ice.MSG_USERNAME) == "" && m.Option("code") == "" && mdb.Config(m, "oauth") != "" {
|
||||||
return
|
m.ProcessOpen(mdb.Config(m, "oauth"))
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
kit.If(m.Option(ice.MSG_USERPOD), func(p string) {
|
kit.If(m.Option(ice.MSG_USERPOD), func(p string) {
|
||||||
m.Cmdy(web.SPACE, p, m.PrefixKey(), ice.Maps{ice.MSG_USERPOD: ""})
|
m.Cmdy(web.SPACE, p, m.PrefixKey(), ice.Maps{ice.MSG_USERPOD: ""})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user