File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const (
22
22
forbiddenFlagMessage string = "%s - ⚠ Flag(s) %s forbidden for user @%s\n "
23
23
forbiddenUserResponse string = "Sorry @%s, but you don't have permission to run this command :confused:"
24
24
forbiddenChannelResponse string = "Sorry @%s, but I'm not allowed to run this command here :zipper_mouth_face:"
25
- forbiddenCommandResponse string = "Sorry @%s, but I cannot run this command. I'm allowed to run `%s` "
25
+ forbiddenCommandResponse string = "Sorry @%s, but I cannot run this command."
26
26
forbiddenFlagResponse string = "Sorry @%s, but I'm not allowed to run one of your flags."
27
27
okResponse string = "Roger that!\n @%s, this is the response to your request:\n ```\n %s\n ``` "
28
28
)
@@ -149,7 +149,7 @@ func kubectl(command *bot.Cmd) (msg string, err error) {
149
149
150
150
if len (command .Args ) > 0 && ! kb .commands [command .Args [0 ]] {
151
151
fmt .Printf (forbiddenCommandMessage , time , command .Args , nickname )
152
- return fmt .Sprintf (forbiddenCommandResponse , nickname , kb . commands ), nil
152
+ return fmt .Sprintf (forbiddenCommandResponse , nickname ), nil
153
153
}
154
154
155
155
if err := validateFlags (command .Args ... ); err != nil {
You can’t perform that action at this time.
0 commit comments