]> git.smokeofanarchy.ru Git - space-station-14.git/commit
I have spent more time today cleaning up garbage than coding new shit, and I am mad...
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Fri, 6 Sep 2024 10:00:57 +0000 (12:00 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2024 10:00:57 +0000 (20:00 +1000)
commit582a644c243d1c0a0ff660933e811b89024597f6
treee4139cf9063670b9be6098ccdacb471b377a53d3
parent73520b011b19bae71a9f076e9ff60d69c1a7c891
I have spent more time today cleaning up garbage than coding new shit, and I am mad (#31246)

* Fix logging of GetWebhook errors

Yeah let's just not log the error only stack trace.

* I have spent more time today cleaning up garbage than coding new shit, and I am mad

Cleans up the custom vote Discord webhook code because I *happened* to lay my eyes on how completely terrible it was and immediately found an obvious bug with it.

Also did basic QA because jesus christ: it more clearly reports pending votes, properly indicates cancelled votes, improves footer formatting, better error logging, all the usual shit.

Requires https://github.com/space-wizards/RobustToolbox/pull/5375 to avoid test failures
Content.Server/Discord/DiscordWebhook.cs
Content.Server/Voting/VoteCommands.cs
Resources/Locale/en-US/administration/commands/custom-vote-command.ftl
Resources/Locale/en-US/game-ticking/game-ticker.ftl