mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
Update README.md
resolve import problem
This commit is contained in:
parent
4848e9d424
commit
843765647c
@ -29,7 +29,8 @@ that you should not make software that does things it is not supposed to do.
|
||||
### Example bot (TS/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 session = new Session({ token: 'your token', intents });
|
||||
|
Loading…
x
Reference in New Issue
Block a user