MCPcopy Create free account

hub / github.com/assimon/ai-anti-bot / functions

Functions43 in github.com/assimon/ai-anti-bot

↓ 6 callersFunctionIncrementVerificationTimes
(user *UserInfo)
database/user_info.go:46
↓ 3 callersFunctionBanChatMember
(c tb.Context, res *adapter.RecognizeResult)
bot/func.go:57
↓ 3 callersFunctionIdentifier
()
bot/func.go:16
↓ 3 callersFunctionIncrementNumberOfSpeeches
(user *UserInfo)
database/user_info.go:30
↓ 3 callersFunctionNewChatGpt
(option adapter.Option)
ai/chatgpt/chatgpt.go:19
↓ 3 callersFunctionPreCheck
(c tb.Context)
bot/handle.go:23
↓ 3 callersFunctionisManage
(chat *tb.Chat, userId int64)
bot/func.go:30
↓ 2 callersFunctionAllAd
(c tb.Context)
bot/handle.go:243
↓ 2 callersMethodRecognizeImageMessage
(ctx context.Context, userInfo, file string)
adapter/iModel.go:9
↓ 1 callersFunctionAddAdvertise
(advertise Advertise)
database/advertise.go:17
↓ 1 callersFunctionAllAdvertise
()
database/advertise.go:21
↓ 1 callersFunctionDeleteAdvertise
(id int64)
database/advertise.go:31
↓ 1 callersFunctionGetEfficientAdvertise
()
database/advertise.go:26
↓ 1 callersFunctionGetUserInfo
(user *UserInfo)
database/user_info.go:62
↓ 1 callersFunctionLoadAdMenuBtn
(menu *tb.ReplyMarkup)
bot/func.go:114
↓ 1 callersFunctionNew
(model string, option adapter.Option)
ai/builder.go:14
↓ 1 callersFunctionProcessNickname
(nickname string)
bot/func.go:130
↓ 1 callersMethodRecognizeImageMessage
(ctx context.Context, userInfo, file string)
ai/chatgpt/chatgpt.go:57
↓ 1 callersMethodRecognizeTextMessage
(ctx context.Context, userInfo, message string)
ai/chatgpt/chatgpt.go:30
↓ 1 callersMethodRecognizeTextMessage
(ctx context.Context, userInfo, message string)
adapter/iModel.go:8
↓ 1 callersFunctionRegisterCommands
()
bot/root.go:42
↓ 1 callersFunctionRegisterHandle
()
bot/root.go:51
↓ 1 callersFunctionSaveUserInfo
(user *UserInfo)
database/user_info.go:22
↓ 1 callersFunctionStart
()
bot/root.go:14
↓ 1 callersFunctionWaitSignalChina
()
pkg/os/os.go:9
↓ 1 callersFunctionisOwner
(userId int64)
bot/func.go:43
FunctionAddAd
(c tb.Context)
bot/handle.go:217
FunctionCreatorCmdMiddleware
(next tb.HandlerFunc)
bot/middleware.go:49
FunctionDelAd
(c tb.Context)
bot/handle.go:262
FunctionOnChatMemberMessage
(c tb.Context)
bot/handle.go:205
FunctionOnPhotoMessage
(c tb.Context)
bot/handle.go:152
FunctionOnStickerMessage
(c tb.Context)
bot/handle.go:99
FunctionOnTextMessage
(c tb.Context)
bot/handle.go:45
FunctionPreCmdMiddleware
(next tb.HandlerFunc)
bot/middleware.go:40
FunctionPreGroupMiddleware
(next tb.HandlerFunc)
bot/middleware.go:21
MethodTableName
()
database/advertise.go:13
MethodTableName
()
database/user_info.go:18
FunctionTestChatGptRecognizeImageMessage
(t *testing.T)
test/chatgpt_test.go:26
FunctionTestChatGptRecognizeTextMessage
(t *testing.T)
test/chatgpt_test.go:13
Functioninit
()
database/root.go:12
Functioninit
()
config/config.go:13
FunctionisManageMiddleware
(next tb.HandlerFunc)
bot/middleware.go:9
Functionmain
()
cmd/main.go:9