mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
update readme.md
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user