Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 2.6 KB

File metadata and controls

39 lines (24 loc) · 2.6 KB

Logo of CloudTheWolf.DSharpPlus.Scaffolding

CloudTheWolf.DSharpPlus.Scaffolding

A Simple, Unofficial, Scaffolding for DSharpPlus Bots!

This project was created as a base for getting started, and has no affiliation with DShapPlus.

This Repo includes an example Worker, capable of running as either an console application or servive on both Windows and Linux environments, and an example plugin

This uses the fillowing libraries:

Help, my plugins don't work in Version 4.0

First of all, as with any update to the Scaffolding, please make sure your plugins are using the correct version of CloudTheWolf.DSharpPlus.Scaffolding.Shared

Next, you will now need to put each individual plugin in it's own directory within the pluging folder.

Eg for a Plugin called Example you would now put it in /Plugins/Example instead of just adding it to /Plugins

Why the change?

This change is a bit of a big one, and is sort of a double edge sword.

First of this means that if you have multiple plugins that share the same dependancies, putting them in seperate folders will basically double the space requirements. You are free to put all your plugins in a single "Master" directory, however this also means the benifits of this change are lost.

Now, what are these benifits of this new design? First if all, you can now easilly add/remove plugins to help diagnose issue with your bot. This also means you can fully remove a plugin and all of its dependancies without the risk of removing a shared depandancy that another plugin may use.