Comments (3)
"Simply" changing the version to 4.1.0
does not seem to work. The project will build successfully, but is unable to run. It throws the following exception:
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'DSharpPlus, Version=4.1.0.930, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'DSharpPlus, Version=4.1.0.930, Culture=neutral, PublicKeyToken=null'
at DevExchangeBot.Program.MainAsync()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at DevExchangeBot.Program.MainAsync()
at DevExchangeBot.Program.Main() in /home/delightedcat/Repositories/DevExchangeBot/src/Program.cs:line 35
I've already looked at this one last night without being able to make much sense of it. I tried to remove my local cache files with another dotnet restore
hoping this would resolve the issue, without any luck.
@JustAeris Would you be able to look into this one, as you originally added the nightly sources to the project?
from devexchangebot.
You can try removing the IDoEverything.DSharpPlus.SlashCommands
package and replacing it with the new one simply called DSharpPlus.SclashCommands
, since the latter is the official integration
from devexchangebot.
Thank you for your reply, it seems to be that the new slash commands module is only available under the latest nightly build of version 4.2.0
of DSharpPlus. An attempt to install the nightly package led me to discover the --prerelease
parameter in the dotnet add package
command that allows the correct packages to be installed.
Because of this, the bot is now able to run again. I'm not expecting breaking changes of a minor version bump (4.1.0
to 4.2.0
) but I'll test the bot for a bit to ensure it's working as intended. I'll merge my update branch once I did so!
EDIT: To clarify, this still means we'll use nightly builds. but this seems to be the only way to keep the bot up-to-date and to pull in the new slash commands package. It might mean more breaking API changes (according to the documentation), though.
from devexchangebot.
Related Issues (9)
- Feature assignment request : Levelling HOT 2
- Feature assignment request : Self-service role assignment system HOT 1
- Development of the "virtual pet" feature
- Feature assignment request: Heartboard HOT 1
- Feature assignment request : Quoter
- Fix public static DiscordClient property in Program class
- Resolve the Discord Guild emoji vs. unicode emoji issue
- Add score streak to !d bump
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devexchangebot.