yuko
v0.1.1
Published
A Discord Library Written In JavaScript
Downloads
21
Maintainers
Readme
Yuko
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
- Yuko's Official Docs is currently W.I.P.
- Yuko's GitHub Repository is where the main development of the library happens.
- Yuko's Support Server is where you can ask help within the library or contact me.
License
Yuko is released under the MIT License.