mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-07-19 13:54:44 -04:00
[PR #979] [MERGED] Discord Bot mk. 3 #986
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RPCS3/discord-bot/pull/979
Author: @13xforever
Created: 3/25/2025
Status: ✅ Merged
Merged: 3/25/2025
Merged by: @clienthax
Base:
master← Head:feature/dsp5📝 Commits (10+)
5f039d3add global usings491b12aupdate collection initialization syntax207f7dcclean up usings43c7251set langversion to latest, and enable nullable types in all projects70651bbuse ellipses instead of three dots whenever appropriate001dd88upgrade to D#+ v5 and migrate client initialization code29c2befupdate namespaces and some enums1781c0eremove custom command error handler for now956ead8updating more stuffe068a78update command check attribute code📊 Changes
228 files changed (+5666 additions, -6569 deletions)
View changed files
📝
.gitignore(+0 -1)📝
Clients/CirrusCiClient/CirrusCiClient.csproj(+5 -4)📝
Clients/CompatApiClient/CompatApiClient.csproj(+1 -1)📝
Clients/CompatApiClient/Compression/CompressedContent.cs(+1 -2)📝
Clients/CompatApiClient/Compression/DecompressedContent.cs(+1 -2)📝
Clients/GithubClient/GithubClient.csproj(+1 -1)📝
Clients/IrdLibraryClient/IrdFormat/IrdParser.cs(+0 -1)📝
Clients/IrdLibraryClient/IrdLibraryClient.csproj(+1 -1)📝
Clients/IrdLibraryClient/POCOs/SearchResult.cs(+0 -1)📝
Clients/MediafireClient/Client.cs(+4 -6)📝
Clients/MediafireClient/MediafireClient.csproj(+1 -0)📝
Clients/OneDriveClient/Client.cs(+2 -2)📝
Clients/OneDriveClient/OneDriveClient.csproj(+1 -0)📝
Clients/PsnClient/POCOs/App.cs(+1 -1)📝
Clients/PsnClient/PsnClient.cs(+1 -1)📝
Clients/PsnClient/PsnClient.csproj(+2 -1)📝
Clients/YandexDiskClient/Client.cs(+3 -3)📝
Clients/YandexDiskClient/YandexDiskClient.csproj(+1 -0)➕
CompatBot/Commands/Attributes/CheckAttributeWithReactions.cs(+24 -0)➖
CompatBot/Commands/Attributes/CheckBaseAttributeWithReactions.cs(+0 -38)...and 80 more files
📄 Description
Most of the bot was re-written for Discord Application Commands.
Remember: no rebase, only merge commit.
Main goals:
Changelog highlights:
Watchdogas D#+ does properly handle dirty socket disconnects (allegedly)CHAT_INPUT)audit *,bot import *,latest clear,latest set,sudo fix *,sudo say,sudo react,much,rate,comparehelpfor the remaining text commands, so they're completely undiscoverable for nowsudo bot *commands moved one level up tobot *commands (app commands have limitation of 3 levels for subcommands)Visionis completely disabled as we don't have access to it anywayAllowDMUsageattribute):bot *,latest *,filter *,psn check *,sudo *,warnings *explain,latest, etc)bot configurationhas auto complete for bot config parametersbot shutdownwas removedfiltersandeventshave id auto complete for relevant subcommandsfiltersandeventsno longer have custom form editors, instead using optional arguments forupdatesubcommandscompatibility,psn check updates, andpsn renamehave product code auto completeexplainhas auto complete with content previewexplain listno longer pretty prints table of contents as embeds, instead dumping all terms as a text attachment (for now)renamegroup commands were moved to user context menu (except forrename clean,dump, andlist, which are currently disabled)fortune importis now multi-threaded, and runs much fastermemewas enhancedminesweepernow opens all safe cells on minefield generation instead only one0cellprcommands got merged into one with more optional argumentspsn check contentwas removed as I doubt Sony will ever re-introduce web version of PSN Store for PS3syscallshave auto complete for function nameswarningshave been reworked the most:userargument is filled in (wonky, because Discord client caches auto complete lists based on the input in the auto complete argument only)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.