[PR #156] [MERGED] Implement !pr command #242

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

📋 Pull Request Information

Original PR: https://github.com/RPCS3/discord-bot/pull/156
Author: @13xforever
Created: 1/7/2019
Status: Merged
Merged: 1/7/2019
Merged by: @13xforever

Base: masterHead: vnext


📝 Commits (8)

  • 6e9ecf9 people are nasty, better remove invites from this as well
  • 2b5f447 add more magic words
  • 862f1cf refactor github client in a separate project
  • fa308f3 wip implementation of !pr command
  • fa26f29 working !pr build
  • 666d69a implemented open pr queries
  • c8e1661 changed formatting for pr list
  • f8793d6 add more information for !pr description

📊 Changes

26 files changed (+645 additions, -86 deletions)

View changed files

AppveyorClient/AppveyorClient.csproj (+16 -0)
AppveyorClient/Client.cs (+137 -0)
AppveyorClient/POCOs/Artifact.cs (+13 -0)
AppveyorClient/POCOs/ArtifactInfo.cs (+8 -0)
AppveyorClient/POCOs/Build.cs (+27 -0)
AppveyorClient/POCOs/BuildInfo.cs (+10 -0)
AppveyorClient/POCOs/Job.cs (+17 -0)
AppveyorClient/POCOs/Project.cs (+4 -0)
📝 CompatApiClient/Client.cs (+0 -48)
CompatApiClient/POCOs/PrInfo.cs (+0 -17)
📝 CompatApiClient/Utils/Utils.cs (+15 -0)
📝 CompatBot/Commands/Explain.cs (+3 -0)
CompatBot/Commands/Pr.cs (+122 -0)
📝 CompatBot/CompatBot.csproj (+2 -0)
📝 CompatBot/Config.cs (+4 -0)
📝 CompatBot/EventHandlers/BotShutupHandler.cs (+5 -1)
📝 CompatBot/Program.cs (+1 -0)
CompatBot/Utils/ResultFormatters/PrInfoFormatter.cs (+24 -0)
📝 CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs (+0 -15)
📝 CompatBot/Utils/ResultFormatters/UpdateInfoFormatter.cs (+4 -3)

...and 6 more files

📄 Description

  • accepts a number, will return general information for any valid PR
  • accepts optional string filter
    • will return general information + latest successful build link for appveyor if the match is exact
    • will return list of matched PRs otherwise

🔄 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/156 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 1/7/2019 **Status:** ✅ Merged **Merged:** 1/7/2019 **Merged by:** [@13xforever](https://github.com/13xforever) **Base:** `master` ← **Head:** `vnext` --- ### 📝 Commits (8) - [`6e9ecf9`](https://github.com/RPCS3/discord-bot/commit/6e9ecf92a9a1d26e9a504c8f87cea2043fc62a3b) people are nasty, better remove invites from this as well - [`2b5f447`](https://github.com/RPCS3/discord-bot/commit/2b5f447080f5b15d0ef580e3c9b66cc17cbb26e9) add more magic words - [`862f1cf`](https://github.com/RPCS3/discord-bot/commit/862f1cf5ea085d85d3fb1337afbd405918f1dd98) refactor github client in a separate project - [`fa308f3`](https://github.com/RPCS3/discord-bot/commit/fa308f38ae07376263576c01653d8f117df1cc25) wip implementation of !pr command - [`fa26f29`](https://github.com/RPCS3/discord-bot/commit/fa26f29a0a90bbbb3058bb035411671ca33d1ae2) working !pr build - [`666d69a`](https://github.com/RPCS3/discord-bot/commit/666d69a8d286739bb3378874d8e10fd4f0dde37b) implemented open pr queries - [`c8e1661`](https://github.com/RPCS3/discord-bot/commit/c8e1661d5d022414530855a6fb1c455293dae0b2) changed formatting for pr list - [`f8793d6`](https://github.com/RPCS3/discord-bot/commit/f8793d6db13eadde32437f98786c074a24be4f69) add more information for !pr description ### 📊 Changes **26 files changed** (+645 additions, -86 deletions) <details> <summary>View changed files</summary> ➕ `AppveyorClient/AppveyorClient.csproj` (+16 -0) ➕ `AppveyorClient/Client.cs` (+137 -0) ➕ `AppveyorClient/POCOs/Artifact.cs` (+13 -0) ➕ `AppveyorClient/POCOs/ArtifactInfo.cs` (+8 -0) ➕ `AppveyorClient/POCOs/Build.cs` (+27 -0) ➕ `AppveyorClient/POCOs/BuildInfo.cs` (+10 -0) ➕ `AppveyorClient/POCOs/Job.cs` (+17 -0) ➕ `AppveyorClient/POCOs/Project.cs` (+4 -0) 📝 `CompatApiClient/Client.cs` (+0 -48) ➖ `CompatApiClient/POCOs/PrInfo.cs` (+0 -17) 📝 `CompatApiClient/Utils/Utils.cs` (+15 -0) 📝 `CompatBot/Commands/Explain.cs` (+3 -0) ➕ `CompatBot/Commands/Pr.cs` (+122 -0) 📝 `CompatBot/CompatBot.csproj` (+2 -0) 📝 `CompatBot/Config.cs` (+4 -0) 📝 `CompatBot/EventHandlers/BotShutupHandler.cs` (+5 -1) 📝 `CompatBot/Program.cs` (+1 -0) ➕ `CompatBot/Utils/ResultFormatters/PrInfoFormatter.cs` (+24 -0) 📝 `CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs` (+0 -15) 📝 `CompatBot/Utils/ResultFormatters/UpdateInfoFormatter.cs` (+4 -3) _...and 6 more files_ </details> ### 📄 Description * accepts a number, will return general information for any valid PR * accepts optional string filter * will return general information + latest successful build link for appveyor if the match is exact * will return list of matched PRs otherwise --- <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:26 -05:00
yindo closed this issue 2026-02-15 15:55:26 -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#242