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

0.0.4 • Public • Published

Chaldea

Funny servant collection and make them as Roleplaying.
Same as another roleplaying on Discord, but Fate series edition.

Installation

npm install chaldea

Example

const expression = require("chaldea");
const client = new expression.Client();

client.smug().then((data) => {
    console.log(data);
});

Quick Roleplay with Eris

adjust it with your own handler:

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

Package Sidebar

Install

npm i chaldea

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

8.53 kB

Total Files

6

Last publish

Collaborators

  • sinkaroid