Skip main bot commands

This commit is contained in:
rxdn 2021-02-25 22:18:27 +00:00
parent ddfd8427f5
commit 933db789d0
2 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@ func WhitelabelCreateInteractions(ctx *gin.Context) {
for _, cmd := range command.Commands {
properties := cmd.Properties()
if properties.MessageOnly || properties.AdminOnly || properties.HelperOnly {
if properties.MessageOnly || properties.AdminOnly || properties.HelperOnly || properties.MainBotOnly {
continue
}

8
go.mod
View File

@ -4,10 +4,10 @@ go 1.14
require (
github.com/BurntSushi/toml v0.3.1
github.com/TicketsBot/archiverclient v0.0.0-20200704164621-09d42dd941e0
github.com/TicketsBot/common v0.0.0-20210118172556-0b20b84f7df4
github.com/TicketsBot/database v0.0.0-20210218192130-e0cb2d3ebd26
github.com/TicketsBot/worker v0.0.0-20210218173425-59d17bbddc23
github.com/TicketsBot/archiverclient v0.0.0-20210220155137-a562b2f1bbbb
github.com/TicketsBot/common v0.0.0-20210224150303-f1fc5a6a0627
github.com/TicketsBot/database v0.0.0-20210225212136-5ca68d2ef59f
github.com/TicketsBot/worker v0.0.0-20210225221326-c08d193dcd5b
github.com/apex/log v1.1.2
github.com/boj/redistore v0.0.0-20180917114910-cd5dcc76aeff // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible