💩👌 make lint happy

This commit is contained in:
fumiama 2021-08-06 18:56:26 +08:00
parent 178b55ad52
commit c53c644a8c
2 changed files with 3 additions and 3 deletions

View File

@ -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() {
// 随机发送一篇上面的小作文 // 随机发送一篇上面的小作文

View File

@ -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)