Yuko is a Discord library written in JavaScript to interact with the Discord API.
This library is currently under heavy development and we aware the usage of this library that you may experience unknown bugs at most common rates.
- Please do not report any issues until version 0.2 or until the library is completely stable.
You will need NodeJS v14+ to install this library.
npm install yuko
- More examples can be found Here.
const Yuko = require("yuko");
const client = new Yuko.Client("TOKEN", { intents: ["Guilds", "GuildMessages"] });
client.on("gatewayReady", () => {
console.log(`${client.user.username} is Ready!`);
});
client.on("messageCreate", (message) => {
if (message.author.bot) return;
if (message.content === "!ping") {
message.channel.createMessage({ content: "Pong!" });
}
});
client.connect();
You can help the development of Yuko by doing main two things, which are reporting an issue or submitting a pull request to fix or improve the library.
There is a Contributing Guideline provided which you can refer and it should ease you into the development process.
- Yuko's Official Docs is where you can explore more about the library.
- Yuko's GitHub Repository is where the main development of the library happens.
- Yuko official third-party library, Yukora
- Yuko's Support Server is where you can ask help within the library or to contact me.
Yuko is released under MIT License. Please refer to the license file.