Refactor image hosting to remove imgbb support and enable uguu.se as the primary image host

This commit is contained in:
deluan
2026-02-04 16:07:39 -05:00
parent a6386d0fc9
commit 0f14624678
4 changed files with 25 additions and 182 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ var _ = Describe("discordPlugin", func() {
It("successfully sends now playing update", func() {
pdk.PDKMock.On("GetConfig", clientIDKey).Return("test-client-id", true)
pdk.PDKMock.On("GetConfig", usersKey).Return(`[{"username":"testuser","token":"test-token"}]`, true)
pdk.PDKMock.On("GetConfig", imageHostKey).Return("", false)
pdk.PDKMock.On("GetConfig", uguuEnabledKey).Return("", false)
// Connect mocks (isConnected check via heartbeat)
host.CacheMock.On("GetInt", "discord.seq.testuser").Return(int64(0), false, errors.New("not found"))