Discord logging bot https://catalogger.app
Find a file
sam d221441c10 feat: tweak embed dequeueing logic
We no longer blindly dequeue 5 embeds, we check their length too.
The webhook executor will now send up to 10 embeds OR
embeds totaling less than 6000 characters, whichever is less.
Embeds longer than 6000 characters are discarded to prevent errors.
We also check for an empty request body in SendLogAsync and bail to prevent 400s.
2024-10-12 23:47:18 +02:00
.config add husky and csharpier 2024-10-09 17:11:05 +02:00
.husky fix: *actually* add a pre-commit hook for husky 2024-10-09 17:34:56 +02:00
.idea/.idea.catalogger/.idea feat: role delete logging, used invite logging, also some random changes 2024-10-09 22:31:58 +02:00
Catalogger.Backend feat: tweak embed dequeueing logic 2024-10-12 23:47:18 +02:00
.editorconfig init 2024-08-13 13:08:50 +02:00
.gitignore update gitignore 2024-08-19 16:12:46 +02:00
catalogger.sln init 2024-08-13 13:08:50 +02:00
catalogger.sln.DotSettings move classes around, name caches more consistently, add more caches 2024-08-19 16:12:28 +02:00
global.json feat: role delete logging, used invite logging, also some random changes 2024-10-09 22:31:58 +02:00
LICENSE add LICENSE 2024-08-19 16:13:42 +02:00
README.md feat: kick logs 2024-10-12 23:28:15 +02:00

Catalogger.NET

C# rewrite of Catalogger.

Development

Command-line tools for this project can be installed with dotnet tool restore.

  • We use Husky.Net for Git hooks, install it with dotnet husky install.
  • We use CSharpier for formatting .NET code. It can be called with dotnet csharpier ., but is automatically run by Husky pre-commit.

Nuget

We currently use Remora's GitHub packages as the releases on nuget.org are missing some key features. Add these with dotnet nuget add source --username <githubUsername> --password <githubToken> --store-password-in-clear-text --name Remora "https://nuget.pkg.github.com/Remora/index.json"

You must generate a personal access token (classic) here. Only give it the read:packages permission.

License

Copyright (C) 2021-present sam (https://starshines.gay)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.