Update README.md

This commit is contained in:
xxDeveloper
2022-02-14 16:46:59 +03:00
committed by GitHub
parent f30a373da6
commit 5c928a1d0f

View File

@@ -16,7 +16,7 @@ yarn add sern-handler
# Basic Usage
TypeScript or JavaScript
JavaScript
```js
import { Client, Intents } from 'discord.js';
import { Handler } from 'sern-handler';
@@ -41,7 +41,7 @@ client.handler = new Handler({
id: 'server-id'
}
],
init: async (handler : Sern.Handler) => {
init: async (handler) => {
// Optional function to initialize anything else on bot startup
},
});