evex-dev / linejs

LINEJS is a JavaScript library for creating a LINE SelfBot.
https://linejs.evex.land
MIT License
55 stars 18 forks source link

Like discord.js and typing #5

Closed EdamAme-x closed 2 months ago

EdamAme-x commented 2 months ago
const bot = new Client();

bot.on('ready',()=>{console.log('Logged in as ' + bot.user.displayName)})

bot.on('message',(message)=>{
    if(message.author.id == bot.user.id) return;
    if(message.content == 'ping') {
        return message.channel.send('pong')
    }
})

bot.login()
EdamAme-x commented 2 months ago

resolved