funremote

1.1.0 • Public • Published

iFunny.js

Discord

A simple wrapper for the iFunny API

const ifunny = require('iFunny')
const robot = new ifunny.Client({ prefix: '-' })

robot.on('login', async (fresh) => {
    await robot.socket.start()
})

robot.handler.on('message' async () => {
    message.reply('Hello, world!')
})

robot.command.on('ping', async (message, args) => {
    message.reply('Pong!')
})

robot.login('username', 'password')

Fun fact, there's not a single file in this project called ifunny.js

Readme

Keywords

none

Package Sidebar

Install

npm i funremote

Weekly Downloads

507

Version

1.1.0

License

ISC

Unpacked Size

175 kB

Total Files

36

Last publish

Collaborators

  • officergibbie