forked from x/icebergs
opt layout
This commit is contained in:
parent
d5280d34c9
commit
7eb7d7b708
@ -52,7 +52,11 @@ func init() {
|
|||||||
LOGIN: {Role: VOID, Hand: func(m *ice.Message, arg ...string) {
|
LOGIN: {Role: VOID, Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.Echo("input email: ")
|
m.Echo("input email: ")
|
||||||
}},
|
}},
|
||||||
}, mdb.HashAction(mdb.SHORT, mdb.NAME, mdb.FIELD, "time,name,service,username", ice.ACTION, SEND))},
|
}, mdb.HashAction(mdb.SHORT, mdb.NAME, mdb.FIELD, "time,name,service,username", ice.ACTION, SEND)), Hand: func(m *ice.Message, arg ...string) {
|
||||||
|
if mdb.HashSelect(m, arg...); len(arg) == 0 && m.Length() == 0 {
|
||||||
|
m.EchoInfoButton("please add admin email", mdb.CREATE)
|
||||||
|
}
|
||||||
|
}},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
func SendEmail(m *ice.Message, from, to, cc string, arg ...string) {
|
func SendEmail(m *ice.Message, from, to, cc string, arg ...string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user