update readme.md

This commit is contained in:
Jacob Nguyen
2022-02-13 20:26:15 -06:00
committed by GitHub
parent 59dc1f55f6
commit 1ae6ae86fa

View File

@@ -16,7 +16,13 @@ yarn add sern-handler
# Basic Usage # Basic Usage
[Typescript](https://www.typescriptlang.org/)
```ts ```ts
import { Client } from 'discord.js'
import { Intents } from 'discord.js'
import {prefix, token} from "../src/secrets.json"
import {Sern} from "sern-handler"
const client = new Client({ const client = new Client({
intents: [ intents: [
Intents.FLAGS.GUILDS, Intents.FLAGS.GUILDS,