Sehelitar / Kick.bot

A powerful Kick integration for Streamer.bot
https://sehelitar.tv/
GNU Affero General Public License v3.0
19 stars 4 forks source link

Error when compiling references for latest 0.3.9 build #33

Open Lilith-exe opened 6 months ago

Lilith-exe commented 6 months ago

I went to upgrade the version from 0.3.8 (installed yesterday) to the new 0.3.9 build. I replaced the DLL files in the DLL folder, then imported the new actions, fixed the references and upon clicking compile I get these two errors.

(344,11): error CS1061: 'BotClient' does not contain a definition for 'PinMessage' and no accessible extension method 'PinMessage' accepting a first argument of type 'BotClient' could be found (are you missing a using directive or an assembly reference?) (356,11): error CS1061: 'BotClient' does not contain a definition for 'UnpinMessage' and no accessible extension method 'UnpinMessage' accepting a first argument of type 'BotClient' could be found (are you missing a using directive or an assembly reference?)

Sehelitar commented 6 months ago

It seems to be loading the old DLL files. Do you still have these old DLL somewhere that could interfere with the new ones?

Lilith-exe commented 6 months ago

The only place I have them is my recycle bin, and I made sure to delete the old references before adding the new ones

EDIT: I deleted the old DLLs from my recycle bin, deleted the references, re added the new ones and its still the same error

Sehelitar commented 6 months ago

I downloaded the archive and made a brand new Streamer.bot installation, and everything work fine, so I don't know why you have this error. I don't have any other report for this problem yet. You can try to download the latest extension version (0.3.9) again and re-apply the update. You can also try to search in your Streamer.bot folder any hidden Kick.bot.dll file in a forgotten subfolder somewhere.

Lilith-exe commented 6 months ago

Until I work out whats happening ive just commented out the pinned messages section of the 'kick bot' action and it seems to work for now.