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