yuko
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Yuko

YukoVersion

A Discord Library Written In JavaScript.

Installing

You'll need NodeJS 14+ installed.

npm install --save yuko

Examples

  • More examples can be found Here.
const Yuko = require("yuko");
const client = new Yuko.Client("TOKEN", { intents: ["guilds", "guildMessages"] });

client.on("ready", () => {
    console.log(`${client.user.tag} is Ready!`);
});

client.on("messageCreate", (message) => {
    if (message.author.bot) return;

    if (message.content === "!ping") {
        client.createMessage(message.channelID, { content: "Pong!"});
    }
});

client.connect();

Resources Links

License

Yuko is released under the MIT License.

Package Sidebar

Install

npm i yuko

Weekly Downloads

29

Version

0.1.1

License

MIT

Unpacked Size

82.9 kB

Total Files

30

Last publish

Collaborators

  • reinhello