This commit is contained in:
Nicolás Serna 2022-07-30 16:24:59 -03:00
commit bdb25870b7

View File

@ -29,7 +29,8 @@ that you should not make software that does things it is not supposed to do.
### Example bot (TS/JS) ### Example bot (TS/JS)
```js ```js
import { Session, GatewayIntents } from '@biscuitland/core'; import { Session } from '@biscuitland/core';
import { GatewayIntents } from '@biscuitland/api-types';
const intents = GatewayIntents.MessageContent | GatewayIntents.Guilds | GatewayIntents.GuildMessages; const intents = GatewayIntents.MessageContent | GatewayIntents.Guilds | GatewayIntents.GuildMessages;
const session = new Session({ token: 'your token', intents }); const session = new Session({ token: 'your token', intents });