mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 05:30:07 +08:00
fix:减少多余文件
This commit is contained in:
parent
060e167dc7
commit
f762d5ea00
16
.gitignore
vendored
16
.gitignore
vendored
@ -1,7 +1,9 @@
|
||||
data/SetuTime/cache
|
||||
data/SetuTime/search
|
||||
data/manager
|
||||
data/acgimage
|
||||
.idea/
|
||||
.DS_Store
|
||||
.vscode
|
||||
data/SetuTime/cache
|
||||
data/SetuTime/search
|
||||
data/manager
|
||||
data/acgimage
|
||||
.idea/
|
||||
.DS_Store
|
||||
.vscode
|
||||
go-zero*
|
||||
nohup.out
|
||||
|
||||
4
main.go
4
main.go
@ -24,7 +24,7 @@ import (
|
||||
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_music" // 点歌
|
||||
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_omikuji" // 浅草寺求签
|
||||
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_shindan" // 测定
|
||||
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_personal" //个人私货
|
||||
// _ "github.com/FloatTech/ZeroBot-Plugin/plugin_personal" //个人私货
|
||||
|
||||
// b站相关
|
||||
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_bilibili" // 查询b站用户信息
|
||||
@ -76,7 +76,7 @@ func main() {
|
||||
// SuperUsers 某些功能需要主人权限,可通过以下两种方式修改
|
||||
// []string{}:通过代码写死的方式添加主人账号
|
||||
// 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.WSClient{
|
||||
|
||||
@ -15,7 +15,7 @@ import (
|
||||
|
||||
var (
|
||||
// ATRI 所有命令的优先级
|
||||
prio = -1
|
||||
prio = 2
|
||||
// ATRI 表情的 codechina 镜像
|
||||
res = "https://codechina.csdn.net/u011570312/ZeroBot-Plugin/-/raw/master/plugin_atri/"
|
||||
// ATRI 的总开关
|
||||
|
||||
@ -40,7 +40,7 @@ func init() { // 插件主体
|
||||
} else {
|
||||
textReply = reply
|
||||
}
|
||||
strings.Replace(textReply,"菲菲","椛椛",-1)
|
||||
textReply = strings.Replace(textReply,"菲菲","椛椛",-1)
|
||||
if ctx.Event.DetailType == "group" {
|
||||
|
||||
ctx.SendChain(message.Text(textReply))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user