dragory / knub Goto Github PK
View Code? Open in Web Editor NEWTypeScript framework for creating Discord bots
Home Page: https://knub.zeppelin.gg
TypeScript framework for creating Discord bots
Home Page: https://knub.zeppelin.gg
Hi,
I'm wanting to use Knub in a Discord bot I'm working for my server, we intend for the bot to eventually become open source under the GNU General Public License, however I'm noticing some conflicts on the repository vs the Node Repositories.
The GitHub repository has no explicit license, inferring that is is all rights reserved and we need to discuss a private license, however, the Node Package Manager says the project is licensed under MIT, in which case all I would need to do is state that the project uses libraries which are licensed under MIT (or relicense my project)
Please let me know what's going on and if we need to discuss something privately.
Preparation for #3
export default {
id: 'foo-bar',
commands: [
MyCommand,
OtherCommand,
ThirdCommand,
],
public: {
somePublicFn,
secondPublicFn,
},
load({ events, config, state }) {
// The plugin load() function is called with an object that
// includes functions and objects for the functionality
// previously included in the base plugin class.
//
// This object is also passed to the command handlers and
// public functions defined above.
}
}
load()
) and command handlers are both called with an object that includes plugin functionality previously included in the base class, such as event handling, config loading, etc.id
and e.g. a load
function or a command, so there's very little overhead/boilerplate to create a pluginTo load a traditional class-based plugin:
To load a function-based plugin:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.