[PR #238] [MERGED] Backend maintenance #316

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/238
Author: @13xforever
Created: 3/1/2019
Status: Merged
Merged: 3/1/2019
Merged by: @13xforever

Base: masterHead: vnext


📝 Commits (8)

  • fbfe3c0 fix compiler warnings
  • 0fb2f98 tweaks to the log format
  • d3b596c list all events that are happening at the same time
  • 85f1649 add bot stats persistence
  • 25faf12 actually persist stats on reboot
  • 99e4892 ability to configure bot through dotnet user-secrets
  • 7b21a82 fix some stuff after changes
  • ec8a87a ability to use google credentials stored in user-secrets folder

📊 Changes

30 files changed (+728 additions, -240 deletions)

View changed files

📝 CompatBot/Commands/BaseCommandModuleCustom.cs (+2 -7)
CompatBot/Commands/BotStats.cs (+141 -0)
📝 CompatBot/Commands/CompatList.cs (+4 -3)
📝 CompatBot/Commands/EventsBaseCommand.cs (+14 -5)
📝 CompatBot/Commands/Explain.cs (+3 -2)
📝 CompatBot/Commands/Misc.cs (+2 -128)
📝 CompatBot/Commands/Moderation.Audit.cs (+5 -5)
📝 CompatBot/Commands/Sudo.Bot.cs (+7 -4)
📝 CompatBot/CompatBot.csproj (+3 -7)
📝 CompatBot/Config.cs (+61 -41)
📝 CompatBot/Database/BotDb.cs (+13 -0)
CompatBot/Database/Migrations/BotDb/20190301155219_PersistentStats.Designer.cs (+256 -0)
CompatBot/Database/Migrations/BotDb/20190301155219_PersistentStats.cs (+38 -0)
📝 CompatBot/Database/Migrations/BotDb/BotDbModelSnapshot.cs (+31 -1)
📝 CompatBot/Database/Providers/AmdDriverVersionProvider.cs (+1 -1)
CompatBot/Database/Providers/StatsStorage.cs (+79 -0)
📝 CompatBot/EventHandlers/IsTheGamePlayableHandler.cs (+3 -2)
📝 CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs (+2 -6)
📝 CompatBot/EventHandlers/PostLogHelpHandler.cs (+1 -1)
📝 CompatBot/EventHandlers/ProductCodeLookup.cs (+0 -1)

...and 10 more files

📄 Description

  • support for dotnet user-secrets to configure the bot
  • fixed many compiler warnings
  • fixed log spam with exceptions on bot restart
  • statistics persistence on update/restart

🔄 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/238 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 3/1/2019 **Status:** ✅ Merged **Merged:** 3/1/2019 **Merged by:** [@13xforever](https://github.com/13xforever) **Base:** `master` ← **Head:** `vnext` --- ### 📝 Commits (8) - [`fbfe3c0`](https://github.com/RPCS3/discord-bot/commit/fbfe3c00dac8bc3a5d98d9d6a09e3a05e67aec46) fix compiler warnings - [`0fb2f98`](https://github.com/RPCS3/discord-bot/commit/0fb2f98ec599a7969aacc000a13f63766d724a0a) tweaks to the log format - [`d3b596c`](https://github.com/RPCS3/discord-bot/commit/d3b596cd1bef138a532c60af3ec96b40a0363e39) list all events that are happening at the same time - [`85f1649`](https://github.com/RPCS3/discord-bot/commit/85f1649bf77556456d1abfb4a4dfed036d77395d) add bot stats persistence - [`25faf12`](https://github.com/RPCS3/discord-bot/commit/25faf128d1cb02770e58854e9f5f68b4c7d8c028) actually persist stats on reboot - [`99e4892`](https://github.com/RPCS3/discord-bot/commit/99e48922ca436dda447d26da9bae3302b17bdca1) ability to configure bot through dotnet user-secrets - [`7b21a82`](https://github.com/RPCS3/discord-bot/commit/7b21a8241d32c7cf53fa44124fcbde756532f03c) fix some stuff after changes - [`ec8a87a`](https://github.com/RPCS3/discord-bot/commit/ec8a87a61722e5369e4c33da497249469891ee4f) ability to use google credentials stored in user-secrets folder ### 📊 Changes **30 files changed** (+728 additions, -240 deletions) <details> <summary>View changed files</summary> 📝 `CompatBot/Commands/BaseCommandModuleCustom.cs` (+2 -7) ➕ `CompatBot/Commands/BotStats.cs` (+141 -0) 📝 `CompatBot/Commands/CompatList.cs` (+4 -3) 📝 `CompatBot/Commands/EventsBaseCommand.cs` (+14 -5) 📝 `CompatBot/Commands/Explain.cs` (+3 -2) 📝 `CompatBot/Commands/Misc.cs` (+2 -128) 📝 `CompatBot/Commands/Moderation.Audit.cs` (+5 -5) 📝 `CompatBot/Commands/Sudo.Bot.cs` (+7 -4) 📝 `CompatBot/CompatBot.csproj` (+3 -7) 📝 `CompatBot/Config.cs` (+61 -41) 📝 `CompatBot/Database/BotDb.cs` (+13 -0) ➕ `CompatBot/Database/Migrations/BotDb/20190301155219_PersistentStats.Designer.cs` (+256 -0) ➕ `CompatBot/Database/Migrations/BotDb/20190301155219_PersistentStats.cs` (+38 -0) 📝 `CompatBot/Database/Migrations/BotDb/BotDbModelSnapshot.cs` (+31 -1) 📝 `CompatBot/Database/Providers/AmdDriverVersionProvider.cs` (+1 -1) ➕ `CompatBot/Database/Providers/StatsStorage.cs` (+79 -0) 📝 `CompatBot/EventHandlers/IsTheGamePlayableHandler.cs` (+3 -2) 📝 `CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs` (+2 -6) 📝 `CompatBot/EventHandlers/PostLogHelpHandler.cs` (+1 -1) 📝 `CompatBot/EventHandlers/ProductCodeLookup.cs` (+0 -1) _...and 10 more files_ </details> ### 📄 Description * support for `dotnet user-secrets` to configure the bot * fixed many compiler warnings * fixed log spam with exceptions on bot restart * statistics persistence on update/restart --- <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#316