Repository
Current version released
3 years ago
Dependencies
esm.sh
std
// For deno runtime use this:
// import { Client } from 'https://deno.land/x/itchatjs'
import { Client } from '@itchatapp/client'
const client = new Client()
client.on('messageCreate', (msg) => {
if (msg.content === '!ping') {
msg.reply('Pong!')
}
})
client.login('your-token-here')