mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 22:40:23 +08:00
💩👌 make lint happy
This commit is contained in:
parent
178b55ad52
commit
c53c644a8c
@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/wdvxdr1123/ZeroBot/message"
|
"github.com/wdvxdr1123/ZeroBot/message"
|
||||||
)
|
)
|
||||||
|
|
||||||
const yamai = "贝拉抽我🥵嘉然骑在我背上🥵晚晚踩我🥵乃琳坐在王座是用看垃圾的眼神看我🥵🥵珈乐踢我🥵🥵,把我眼睛蒙住然后五只脚一起踩我🥵还让我猜脚是谁的,猜错了给我劈眼一铁棍🥵"
|
const yamai = "贝拉抽我\u200b嘉然骑在我背上\u200b晚晚踩我\u200b乃琳坐在王座是用看垃圾的眼神看我\u200b\u200b珈乐踢我\u200b\u200b,把我眼睛蒙住然后五只脚一起踩我\u200b还让我猜脚是谁的,猜错了给我劈眼一铁棍\u200b"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// 随机发送一篇上面的小作文
|
// 随机发送一篇上面的小作文
|
||||||
|
|||||||
@ -31,7 +31,7 @@ func init() {
|
|||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 加载小作文
|
// LoadText 加载小作文
|
||||||
func LoadText() error {
|
func LoadText() error {
|
||||||
if _, err := os.Stat(pbfile); err == nil || os.IsExist(err) {
|
if _, err := os.Stat(pbfile); err == nil || os.IsExist(err) {
|
||||||
f, err := os.Open(pbfile)
|
f, err := os.Open(pbfile)
|
||||||
@ -49,7 +49,7 @@ func LoadText() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// 添加小作文
|
// AddText 添加小作文
|
||||||
func AddText(txt string) error {
|
func AddText(txt string) error {
|
||||||
if txt != "" {
|
if txt != "" {
|
||||||
compo.Array = append(compo.Array, txt)
|
compo.Array = append(compo.Array, txt)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user