UNPKG

chaldea

Version:

Funny servant collection and make them as Roleplaying.

63 lines (49 loc) 1.1 kB
# Chaldea Funny servant collection and make them as Roleplaying. Same as another roleplaying on Discord, but Fate series edition. ## Installation ```sh npm install chaldea ``` ## Example ```js const expression = require("chaldea"); const client = new expression.Client(); client.smug().then((data) => { console.log(data); }); ``` ## Quick Roleplay with [Eris](https://www.npmjs.com/package/eris) adjust it with your own handler: ```js exports.run = function (client, msg, args) { const expression = require("chaldea"); const char = new expression.Client(); let user = msg.mentions[0] || client.users.get(args[0]); if (!user) user = msg.author; char.smug().then((data) => { msg.channel.createMessage({ embed: { color: client.config.colors.success, image: { url: data, }, author: { name: client.username, }, description: ` ${user.username} ( •̀ ω •́ )y`, }, }); }); }; exports.aliases = ["smug"]; ``` ## Endpoints * cry * happy * hug * kiss * smug * angry * pat