akikaki-bot / Discord.ts

The api wrapper for node.js of discord
1 stars 0 forks source link

Discord.ts

🪄 Feautures

📲 Examples


import { Client } from "./"
import { GatewayIntentBits } from "discord-api-types/global"

const client = new Client({
    intents : [GatewayIntentBits.Guilds]
})

client.on('ready', () => {
    console.log(`Ready! Logined in ${client.user.username}`)
})

client.on('guildCreate', (guild : Guild) => {
    console.log(`Register the Guild! : ${guild.name}`)
})

Huh? Missing major events?

Sorry ;( This package is creating now ;(

Maybe, somedays that event is added, Please wait for it. ;(