mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-07-19 13:54:44 -04:00
[PR #651] [MERGED] Channel history lookup overhaul #713
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/651
Author: @13xforever
Created: 9/29/2020
Status: ✅ Merged
Merged: 9/29/2020
Merged by: @13xforever
Base:
master← Head:vnext📝 Commits (6)
c629d78update deps65dd59frewrite new build check logic8a4c8a6dust off some fun codedb013a2implement global message cache management5d06470replace channel history calls to use caches48b4622implement required method📊 Changes
19 files changed (+338 additions, -44 deletions)
View changed files
📝
Clients/CompatApiClient/CompatApiClient.csproj(+1 -1)📝
CompatBot/Commands/Attributes/LimitedToOfftopicChannel.cs(+2 -1)📝
CompatBot/Commands/Attributes/LimitedToSpamChannel.cs(+2 -1)📝
CompatBot/Commands/Explain.cs(+1 -1)📝
CompatBot/Commands/Pr.cs(+1 -1)📝
CompatBot/Commands/Vision.cs(+2 -1)📝
CompatBot/CompatBot.csproj(+9 -9)📝
CompatBot/Config.cs(+1 -0)📝
CompatBot/EventHandlers/DiscordInviteFilter.cs(+1 -1)📝
CompatBot/EventHandlers/GithubLinksHandler.cs(+1 -1)➕
CompatBot/EventHandlers/GlobalMessageCache.cs(+145 -0)📝
CompatBot/EventHandlers/NewBuildsMonitor.cs(+26 -17)📝
CompatBot/EventHandlers/PostLogHelpHandler.cs(+1 -1)📝
CompatBot/EventHandlers/ProductCodeLookup.cs(+1 -1)📝
CompatBot/EventHandlers/Starbucks.cs(+12 -6)📝
CompatBot/Program.cs(+5 -0)📝
CompatBot/Utils/BufferCopyStream.cs(+1 -1)📝
CompatBot/Utils/Extensions/DiscordClientExtensions.cs(+2 -1)➕
CompatBot/Utils/FixedLengthBuffer.cs(+124 -0)📄 Description
Trying to workaround the new Discord API call limits by keeping local cache of last N messages per channel
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.