🚚 🎉 📝 合并 gif

This commit is contained in:
fumiama
2022-01-11 16:09:33 +08:00
parent 7f0f211333
commit 606aec4ec1
10 changed files with 436 additions and 13 deletions

17
plugin_gif/logo.go Normal file
View File

@@ -0,0 +1,17 @@
package plugin_gif
import (
"strconv"
"strings"
)
func (c *context) prepareLogos(s ...string) {
for i, v := range s {
_, err := strconv.Atoi(v)
if err != nil {
download("https://gchat.qpic.cn/gchatpic_new//--"+strings.ToUpper(v)+"/0", c.usrdir+strconv.Itoa(i)+".gif")
} else {
download("http://q4.qlogo.cn/g?b=qq&nk="+v+"&s=640", c.usrdir+strconv.Itoa(i)+".gif")
}
}
}