Repository
Current version released
3 years ago
Versions
iFunny.js
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