[PR #236] [MERGED] Implement log download from external sources #312

Closed
opened 2026-02-15 15:55:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/discord-bot/pull/236
Author: @13xforever
Created: 2/28/2019
Status: Merged
Merged: 2/28/2019
Merged by: @13xforever

Base: masterHead: vnext


📝 Commits (10+)

  • f49e18f ground work to support external log links
  • d4359f6 port current attachment log handler to the new interface
  • 18ee21a thanks, vs, again
  • e4c93b9 better interface composition
  • 6404596 fuck official google drive api client
  • 4252d08 mega source handler
  • 057bfea apparently mega needs some kind of authentication
  • 9a04570 make mega client work
  • 4fbc231 Pastebin source handler
  • 67fd31a Google Drive handler

📊 Changes

24 files changed (+648 additions, -248 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 CompatBot/Commands/Misc.cs (+18 -11)
📝 CompatBot/Commands/Moderation.cs (+2 -2)
📝 CompatBot/CompatBot.csproj (+15 -4)
📝 CompatBot/EventHandlers/LogParsing/ArchiveHandlers/GzipHandler.cs (+8 -10)
CompatBot/EventHandlers/LogParsing/ArchiveHandlers/IArchiveHandler.cs (+13 -0)
CompatBot/EventHandlers/LogParsing/ArchiveHandlers/PlainText.cs (+39 -0)
CompatBot/EventHandlers/LogParsing/ArchiveHandlers/RarHandler.cs (+64 -0)
📝 CompatBot/EventHandlers/LogParsing/ArchiveHandlers/SevenZipHandler.cs (+13 -18)
📝 CompatBot/EventHandlers/LogParsing/ArchiveHandlers/ZipHandler.cs (+10 -40)
📝 CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs (+1 -0)
CompatBot/EventHandlers/LogParsing/SourceHandlers/BaseSourceHandler.cs (+15 -0)
CompatBot/EventHandlers/LogParsing/SourceHandlers/DiscordAttachmentHandler.cs (+70 -0)
CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs (+132 -0)
📝 CompatBot/EventHandlers/LogParsing/SourceHandlers/ISourceHandler.cs (+13 -4)
CompatBot/EventHandlers/LogParsing/SourceHandlers/MegaHandler.cs (+92 -0)
CompatBot/EventHandlers/LogParsing/SourceHandlers/PastebinHandler.cs (+88 -0)
CompatBot/EventHandlers/LogParsing/SourceHandlers/PlainText.cs (+0 -43)
CompatBot/EventHandlers/LogParsing/SourceHandlers/RarHandler.cs (+0 -93)
📝 CompatBot/EventHandlers/LogParsingHandler.cs (+26 -15)

...and 4 more files

📄 Description

In addition to current discord attachments, this PR implements:

  • Mega link to a file
  • Google Drive link to a file
  • Pastebin link

Google API requires additional configuration, as all calls require authentication.
Instructions are provided in the README.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/discord-bot/pull/236 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 2/28/2019 **Status:** ✅ Merged **Merged:** 2/28/2019 **Merged by:** [@13xforever](https://github.com/13xforever) **Base:** `master` ← **Head:** `vnext` --- ### 📝 Commits (10+) - [`f49e18f`](https://github.com/RPCS3/discord-bot/commit/f49e18fd40910576dc0b3e9ca77fd8c077b59465) ground work to support external log links - [`d4359f6`](https://github.com/RPCS3/discord-bot/commit/d4359f663ee6773c610bcd7e36315efd0baf2958) port current attachment log handler to the new interface - [`18ee21a`](https://github.com/RPCS3/discord-bot/commit/18ee21a54ec6954562dac998befd2f7f430a1ca0) thanks, vs, again - [`e4c93b9`](https://github.com/RPCS3/discord-bot/commit/e4c93b9501a84a477bc6ce8f2efd77a758b02682) better interface composition - [`6404596`](https://github.com/RPCS3/discord-bot/commit/640459668d1d73842a61c5783f1e7ec905b987b7) fuck official google drive api client - [`4252d08`](https://github.com/RPCS3/discord-bot/commit/4252d089548f21673639f4a9a043fb6bb24de77c) mega source handler - [`057bfea`](https://github.com/RPCS3/discord-bot/commit/057bfea9fdfa4b4ce756dddb849fe1d4f374290b) apparently mega needs some kind of authentication - [`9a04570`](https://github.com/RPCS3/discord-bot/commit/9a04570c7ab7c085cd1bb9216f15dd54ba54351a) make mega client work - [`4fbc231`](https://github.com/RPCS3/discord-bot/commit/4fbc231fec1e7ca743e8a003897a210dd5afdb79) Pastebin source handler - [`67fd31a`](https://github.com/RPCS3/discord-bot/commit/67fd31adf6959d3fd7e68d688be30f1cb808d2f3) Google Drive handler ### 📊 Changes **24 files changed** (+648 additions, -248 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `CompatBot/Commands/Misc.cs` (+18 -11) 📝 `CompatBot/Commands/Moderation.cs` (+2 -2) 📝 `CompatBot/CompatBot.csproj` (+15 -4) 📝 `CompatBot/EventHandlers/LogParsing/ArchiveHandlers/GzipHandler.cs` (+8 -10) ➕ `CompatBot/EventHandlers/LogParsing/ArchiveHandlers/IArchiveHandler.cs` (+13 -0) ➕ `CompatBot/EventHandlers/LogParsing/ArchiveHandlers/PlainText.cs` (+39 -0) ➕ `CompatBot/EventHandlers/LogParsing/ArchiveHandlers/RarHandler.cs` (+64 -0) 📝 `CompatBot/EventHandlers/LogParsing/ArchiveHandlers/SevenZipHandler.cs` (+13 -18) 📝 `CompatBot/EventHandlers/LogParsing/ArchiveHandlers/ZipHandler.cs` (+10 -40) 📝 `CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs` (+1 -0) ➕ `CompatBot/EventHandlers/LogParsing/SourceHandlers/BaseSourceHandler.cs` (+15 -0) ➕ `CompatBot/EventHandlers/LogParsing/SourceHandlers/DiscordAttachmentHandler.cs` (+70 -0) ➕ `CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs` (+132 -0) 📝 `CompatBot/EventHandlers/LogParsing/SourceHandlers/ISourceHandler.cs` (+13 -4) ➕ `CompatBot/EventHandlers/LogParsing/SourceHandlers/MegaHandler.cs` (+92 -0) ➕ `CompatBot/EventHandlers/LogParsing/SourceHandlers/PastebinHandler.cs` (+88 -0) ➖ `CompatBot/EventHandlers/LogParsing/SourceHandlers/PlainText.cs` (+0 -43) ➖ `CompatBot/EventHandlers/LogParsing/SourceHandlers/RarHandler.cs` (+0 -93) 📝 `CompatBot/EventHandlers/LogParsingHandler.cs` (+26 -15) _...and 4 more files_ </details> ### 📄 Description In addition to current discord attachments, this PR implements: * Mega link to a file * Google Drive link to a file * Pastebin link Google API requires additional configuration, as all calls require authentication. Instructions are provided in the README. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 15:55:38 -05:00
yindo closed this issue 2026-02-15 15:55:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/discord-bot#312