ban group and supergroup and channel right away #593
Annotations
2 errors and 11 warnings
golangci-lint:
app/bot/openai/openai.go#L247
emptyStringTest: replace `len(msg.Text) > 0` with `msg.Text != ""` (gocritic)
|
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
app/bot/openai/openai_test.go#L69
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/openai_test.go#L106
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/summary.go#L147
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/summary_test.go#L35
unused-parameter: parameter 'remarkLink' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/summary_test.go#L76
unused-parameter: parameter 'remarkLink' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/summary_test.go#L120
unused-parameter: parameter 'remarkLink' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/summary_test.go#L164
unused-parameter: parameter 'text' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/openai_test.go#L248
unused-parameter: parameter 'n' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/summary_test.go#L202
unused-parameter: parameter 'text' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
app/bot/openai/summary_test.go#L240
unused-parameter: parameter 'text' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading