diff --git a/cmd/snippet/main.go b/cmd/snippet/main.go index 9121575..36ed663 100644 --- a/cmd/snippet/main.go +++ b/cmd/snippet/main.go @@ -207,6 +207,7 @@ func (SnippetExecutor) Execute(ctx context.Context, in executor.ExecuteInput) (e return executor.ExecuteOutput{}, err } channelID := strings.Split(in.Context.Message.URL, "/")[4] + channelID = cfg.ChannelID botToken, err := getBotToken() // Step 1: Execute the command