Skip to content
/ yuko Public

A Discord library written in JavaScript to interact with the Discord API

License

Notifications You must be signed in to change notification settings

reinacchi/yuko

Repository files navigation

Yuko

Yuko Status Yuko Release Discord Server

Yuko is a Discord library written in JavaScript to interact with the Discord API.

Library Status

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.

Installation

You will need NodeJS v14+ to install this library.

npm install yuko

Examples

  • 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();

Contributing

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.

Resources Links

License

Yuko is released under MIT License. Please refer to the license file.

About

A Discord library written in JavaScript to interact with the Discord API

Resources

License

Stars

Watchers

Forks