0.0.4 • Published 3 years ago

chaldea v0.0.4

Weekly downloads
117
License
MIT
Repository
github
Last release
3 years ago

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
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago