ninodiscord / butterfly Goto Github PK
View Code? Open in Web Editor NEW๐ฆ Discord API Framework for JDA built in Kotlin
License: MIT License
๐ฆ Discord API Framework for JDA built in Kotlin
License: MIT License
Instead, use the Mono API, which is just as rich and is runtime agnostic, hopefully will be executed in the JDA execution thread.
It just creates issues, and as this library is constantly being worked on there is no need for it.
Interactions are a conversation between a bot and one or more users, this will allow us to create more elegant menus.
Interactions are made of steps, and steps point to the next step or to end the interaction.
Developers should not need to invest time in setting up their discord environment for their unit tests.
Butterfly should help users by providing environment building functions and helping developers write less code and achieving more.
Made in the constructor of ButterflyClient.
This is because Nino uses JDK 11, and Kotlin is unstable across multiple JDK versions.
The client currently catches all exceptions and prints errors, let JDA catch all of the non-butterfly exceptions instead.
There can be multiple issues when working with nested commands:
One more class: CommandGroup
This class extends the normal Command and it's some kind of CommandHandler.
It accepts subcommands and a default command (no arguments) in its constructor.
In its execute() method, it works exactly like the CommandHandler, executing the correct subcommand according to its argument.
Instead of using JDA and relying on two libraries: JDA and the jda-reactor library we can rely on Discord4J which is both tested and running on Project Reactor.
Also it has better support for Kotlin, moving should not take very long as the code doesn't rely too much on one library.
Currently, it sends a message. I think that the better way is to let the user handle it as an exception.
Title is self explainitory
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.