fix:减少多余文件

This commit is contained in:
haibaraguo 2021-09-04 00:33:24 +08:00
parent 060e167dc7
commit f762d5ea00
5 changed files with 51453 additions and 11 deletions

2
.gitignore vendored
View File

@ -5,3 +5,5 @@ data/acgimage
.idea/ .idea/
.DS_Store .DS_Store
.vscode .vscode
go-zero*
nohup.out

View File

@ -24,7 +24,7 @@ import (
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_music" // 点歌 _ "github.com/FloatTech/ZeroBot-Plugin/plugin_music" // 点歌
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_omikuji" // 浅草寺求签 _ "github.com/FloatTech/ZeroBot-Plugin/plugin_omikuji" // 浅草寺求签
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_shindan" // 测定 _ "github.com/FloatTech/ZeroBot-Plugin/plugin_shindan" // 测定
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_personal" //个人私货 // _ "github.com/FloatTech/ZeroBot-Plugin/plugin_personal" //个人私货
// b站相关 // b站相关
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_bilibili" // 查询b站用户信息 _ "github.com/FloatTech/ZeroBot-Plugin/plugin_bilibili" // 查询b站用户信息
@ -76,7 +76,7 @@ func main() {
// SuperUsers 某些功能需要主人权限,可通过以下两种方式修改 // SuperUsers 某些功能需要主人权限,可通过以下两种方式修改
// []string{}:通过代码写死的方式添加主人账号 // []string{}:通过代码写死的方式添加主人账号
// os.Args[1:]:通过命令行参数的方式添加主人账号 // os.Args[1:]:通过命令行参数的方式添加主人账号
SuperUsers: append([]string{"1156544355","1846515440","1776620359"}, os.Args[1:]...), SuperUsers: append([]string{"1156544355","1846515440","1776620359","3075596057","740768239"}, os.Args[1:]...),
Driver: []zero.Driver{ Driver: []zero.Driver{
&driver.WSClient{ &driver.WSClient{

51440
nohup.out

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@ import (
var ( var (
// ATRI 所有命令的优先级 // ATRI 所有命令的优先级
prio = -1 prio = 2
// ATRI 表情的 codechina 镜像 // ATRI 表情的 codechina 镜像
res = "https://codechina.csdn.net/u011570312/ZeroBot-Plugin/-/raw/master/plugin_atri/" res = "https://codechina.csdn.net/u011570312/ZeroBot-Plugin/-/raw/master/plugin_atri/"
// ATRI 的总开关 // ATRI 的总开关

View File

@ -40,7 +40,7 @@ func init() { // 插件主体
} else { } else {
textReply = reply textReply = reply
} }
strings.Replace(textReply,"菲菲","椛椛",-1) textReply = strings.Replace(textReply,"菲菲","椛椛",-1)
if ctx.Event.DetailType == "group" { if ctx.Event.DetailType == "group" {
ctx.SendChain(message.Text(textReply)) ctx.SendChain(message.Text(textReply))