> For the complete documentation index, see [llms.txt](https://tyrone5693.gitbook.io/falls.djs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tyrone5693.gitbook.io/falls.djs/discord-client.md).

# Discord Client

Codes to create discord client

```javascript
// Define Discord from discord.js module 
const Discord = require("discord.js");
// Or import it from falls.djs module, there is no difference.
const Discord = fallsDjs.Discord;

const client = new Discord.Client({
    intents: [new Discord.Intents("32767")] // this is bitcode of all intents.
})

// Token and Prefix.
const env = {
    "token": "",
    "prefix": "!"
}

client.on('ready', () => {
    console.log('I\'m ready!');
});

client.login(env.token);
```

*
